# -*- compilation -*-
44. filerem01.at:34: testing ...
./filerem01.at:37:
mkdir gnu
(cd gnu
TEST_TAR_FORMAT=gnu
export TEST_TAR_FORMAT
TAR_OPTIONS="-H gnu"
export TAR_OPTIONS
rm -rf *
mkdir dir
mkdir dir/sub
genfile --file dir/file1
genfile --file dir/sub/file2
genfile --run --checkpoint=3 --unlink dir/file1 -- \
tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='' \
--checkpoint-action='' -c -f archive.tar \
--listed-incremental db -v dir >/dev/null
)
Not enabling shell tracing (command contains an embedded newline)
--- - 2022-08-05 19:24:22.349862787 +0800
+++ /home/huawei/Desktop/cpu2006-1.2/tools/src/tar-1.25/tests/testsuite.dir/at-groups/44/stderr 2022-08-05 19:24:22.342588460 +0800
@@ -1,4 +1,3 @@
tar: dir: Directory is new
tar: dir/sub: Directory is new
-tar: dir/file1: File removed before we read it
stdout:
./filerem01.at:37: exit code was 0, expected 1
44. filerem01.at:34: 44. file removed as we read it (ca. 22 seconds) (filerem01.at:34): FAILED (filerem01.at:37)
Please help check error