← Commit list

1cbc642be

Denys Vlasenko
Denys Vlasenko
2013-11-19
SUCCESS Duration: 204s

Subject

tar: add a testcase for previous commit

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

testsuite/tar.tests+12 -0
@@ -15,6 +15,18 @@ mkdir tar.tempdir && cd tar.tempdir || exit 1
# testing "test name" "script" "expected result" "file input" "stdin"
+# Empty file is not a valid .tar.gz:
+optional FEATURE_SEAMLESS_GZ
+testing "tar hardlinks and repeated files" '\
+tar xvzf - 2>&1; echo $?
+' "\
+tar: invalid magic
+tar: short read
+1
+" \
+"" ""
+SKIP=
+
optional FEATURE_TAR_CREATE FEATURE_LS_SORTFILES
testing "tar hardlinks and repeated files" '\
rm -rf input_* test.tar 2>/dev/null