llvm-project/libcxx/test/std/experimental/filesystem
Adhemerval Zanella ced7928069 libcxx: Fix path.compare.pass expected result
The expected 'filesystem::path::compare' result states that for different
path only result sign contains the information about passed arguments
(not its integer value).  This is due it uses the output of other compare
functions (basic_string_view and char_traits) without further handling and
char_traits uses memcmp for final buffer comparison.

However for GLIBC on AArch64 the code:

  int ret = memcmp ("b/a/c", "a/b/c", 1);

Results in '64' where for x86_64 it results in '1'.

This patch fixes the expected 'filesystem::path::compare' by normalizing
all the results before assert comparison.

llvm-svn: 278745
2016-08-15 21:24:50 +00:00
..
Inputs/static_test_env
class.directory_entry
class.directory_iterator
class.file_status
class.filesystem_error
class.path libcxx: Fix path.compare.pass expected result 2016-08-15 21:24:50 +00:00
class.rec.dir.itr Fix bugs in recursive_directory_iterator::increment(ec) implementation and tests. 2016-06-17 23:57:16 +00:00
fs.enum Implement LWG issue 2720. Replace perms::resolve_symlinks with perms::symlink_nofollow. 2016-06-21 22:42:42 +00:00
fs.error.report
fs.filesystem.synopsis
fs.op.funcs test: relax the FS test a slight bit to be more reliable 2016-08-11 16:58:12 +00:00
fs.req.macros
fs.req.namespace
lit.local.cfg