llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs
Martin Storsjö b5e228fc00 [libcxx] [test] Fix the temp_directory_path test for windows
Check a different set of env vars, don't check the exact value
of the fallback path. (GetTempPath falls back to returning the Windows
folder if nothing better is available in env vars.)

The test still fails one check on windows (due to relying on perms::none),
which will be addressed separately.

Differential Revision: https://reviews.llvm.org/D98139
2021-03-15 19:24:56 +02:00
..
fs.op.absolute [libcxx] [test] Adjust separator form in fs.op.absolute for libc++ on windows 2021-03-09 16:57:26 +02:00
fs.op.canonical [libcxx] [test] Add (void) return casts on functions marked nodiscard in MS STL 2020-10-16 17:36:56 +03:00
fs.op.copy [libcxx] [test] Ifdef out uses of create_fifo on windows 2021-02-26 00:10:47 +02:00
fs.op.copy_file [libcxx] [test] Ifdef out uses of create_fifo on windows 2021-02-26 00:10:47 +02:00
fs.op.copy_symlink [libcxx] [test] Call create_directory_symlink where relevant 2020-11-10 10:39:15 +02:00
fs.op.create_directories [libcxx] Avoid infinite recursion in create_directories, if the root directory doesn't exist 2021-03-05 10:49:01 +02:00
fs.op.create_directory [libcxx] [test] Fix building create_directory in MSVC configurations 2021-03-07 23:26:41 +02:00
fs.op.create_directory_symlink [libcxx] [test] Call create_directory_symlink where relevant 2020-11-10 10:39:15 +02:00
fs.op.create_hard_link [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.create_symlink [libcxx] Sanitize paths before creating symlinks on windows 2021-01-29 13:39:30 +02:00
fs.op.current_path [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.equivalent [libcxx] [test] Ifdef out uses of create_fifo on windows 2021-02-26 00:10:47 +02:00
fs.op.exists [libcxx] Test accessing a directory on windows that gives "access denied" errors 2021-03-11 21:07:29 +02:00
fs.op.file_size [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.hard_lk_ct [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.is_block_file [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.is_char_file [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.is_directory [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.is_empty [libcxx] [test] Ifdef out uses of create_fifo on windows 2021-02-26 00:10:47 +02:00
fs.op.is_fifo [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.is_other [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.is_regular_file [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.is_socket [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.is_symlink [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.last_write_time [libc++] Fix tests failing with Clang after removing GCC warnings 2020-10-30 14:56:12 -04:00
fs.op.permissions [libcxx] [test] Use error_code::default_error_condition to check errors against the expected codes 2020-11-03 09:32:52 +02:00
fs.op.proximate [libcxx] [test] Fix all remaining issues with fs::path::string_type being wstring 2020-10-20 00:07:02 +03:00
fs.op.read_symlink [libcxx] [test] Call create_directory_symlink where relevant 2020-11-10 10:39:15 +02:00
fs.op.relative [libcxx] [test] Use fs::path::string_type instead of std::string in fs.op.relative 2020-10-16 17:36:56 +03:00
fs.op.remove [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.remove_all [libcxx] [test] Call create_directory_symlink where relevant 2020-11-10 10:39:15 +02:00
fs.op.rename [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.resize_file [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.space [libcxx] [test] Move use of statvfs to helper header 2020-10-22 09:00:57 +03:00
fs.op.status [libcxx] [test] Don't test CharFile (/dev/null) on windows 2021-03-07 23:26:41 +02:00
fs.op.status_known [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
fs.op.symlink_status [libcxx] [test] Don't test CharFile (/dev/null) on windows 2021-03-07 23:26:41 +02:00
fs.op.temp_dir_path [libcxx] [test] Fix the temp_directory_path test for windows 2021-03-15 19:24:56 +02:00
fs.op.weakly_canonical [libcxx] [test] Fix all remaining issues with fs::path::string_type being wstring 2020-10-20 00:07:02 +03:00