[libcxx-commits] [PATCH] D65816: [libcxx] Mark unsupported tests under root user

Eric Fiselier via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 6 11:03:31 PDT 2019


Or don't run the tests as root.

On Tue., Aug. 6, 2019, 1:14 p.m. Taewook Oh via Phabricator, <
reviews at reviews.llvm.org> wrote:

> twoh created this revision.
> twoh added reviewers: EricWF, mclow.lists.
> Herald added a subscriber: christof.
> Herald added a project: libc++.
>
> Some of libcxx unit tests are failing under sudo, as they check the
> permissions after certain operations but sudo overrides it. Mark these
> tests unsupported if the test is running under sudo.
>
>
> Repository:
>   rG LLVM Github Monorepo
>
> https://reviews.llvm.org/D65816
>
> Files:
>
> libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/path.pass.cpp
>
> libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/assign.pass.cpp
>
> libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp
>
> libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/replace_filename.pass.cpp
>
> libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
>
> libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp
>
> libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
>
> libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
>
> libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/ctor.pass.cpp
>
> libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/ctor.pass.cpp
>
> libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/increment.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/exists.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_block_file/is_block_file.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_char_file/is_character_file.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_directory/is_directory.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/is_empty.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_fifo/is_fifo.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_other/is_other.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_regular_file/is_regular_file.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_socket/is_socket.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_symlink/is_symlink.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove/remove.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/remove_all.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp
>
> libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.temp_dir_path/temp_directory_path.pass.cpp
>   libcxx/utils/libcxx/test/config.py
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190806/536ce101/attachment.html>


More information about the libcxx-commits mailing list