Skip to content

Commit 8f0dd03

Browse files
Fix libc++ test failures
1 parent 89d14aa commit 8f0dd03

File tree

27 files changed

+27
-26
lines changed

27 files changed

+27
-26
lines changed

libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/path.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111

1212
// <filesystem>

libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/assign.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111

1212
// <filesystem>

libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111

1212
// The string reported on errors changed, which makes those tests fail when run

libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/replace_filename.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111

1212
// <filesystem>

libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111

1212
// The string reported on errors changed, which makes those tests fail when run

libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111

1212
// Starting in Android N (API 24), SELinux policy prevents the shell user from

libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111

1212
// The string reported on errors changed, which makes those tests fail when run

libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111

1212
// The string reported on errors changed, which makes those tests fail when run

libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/ctor.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/ctor.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/increment.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/exists.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_block_file/is_block_file.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_char_file/is_character_file.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_directory/is_directory.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/is_empty.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_fifo/is_fifo.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_other/is_other.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_regular_file/is_regular_file.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_socket/is_socket.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_symlink/is_symlink.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove/remove.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/remove_all.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: can-create-symlinks
9+
// REQUIRES: can-create-symlinks, non-root-user
1010
// UNSUPPORTED: c++03, c++11, c++14
1111
// UNSUPPORTED: no-filesystem
1212
// UNSUPPORTED: availability-filesystem-missing

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.temp_dir_path/temp_directory_path.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
// REQUIRES: non-root-user
910
// UNSUPPORTED: c++03, c++11, c++14
1011
// UNSUPPORTED: no-filesystem
1112
// UNSUPPORTED: availability-filesystem-missing

0 commit comments

Comments
 (0)