Open simon28li opened 1 year ago
Oh I see. You're running this test as root
. This test attempts to create an unwritable directory (here). But root can write to it even with 000
permissions.
I'm not sure there's an easy patch to the test to address this case...
@terrelln, maybe we want to add support for precondition checks to the cli-tests, so that we can have tests that are skipped when they aren't valid in the calling environment.
Describe the bug The new test
compress-file-to-dir-without-write- perm.sh
in version 1.5.5 reported an error.To Reproduce Steps to reproduce the behavior: ./run.py --zstd=../../programs/zstd --datagen=../datagen --preserve --verbose file-stat/compress-file-to-dir-without-write-perm.sh
Expected behavior
All test cases can be successful.
Screenshots and charts
Desktop (please complete the following information):
OS: centos8
Version: Linux centos 4.18.0-193.el8.aarch64 SMP Fri May 8 11:05:12 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
Compiler: gcc 8.5.0
Build system:makefile
Additional context