aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtestsuite/tar.tests12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tar.tests b/testsuite/tar.tests
index 7927020c1..1bdd5d437 100755
--- a/testsuite/tar.tests
+++ b/testsuite/tar.tests
@@ -15,6 +15,18 @@ mkdir tar.tempdir && cd tar.tempdir || exit 1
15 15
16# testing "test name" "script" "expected result" "file input" "stdin" 16# testing "test name" "script" "expected result" "file input" "stdin"
17 17
18# Empty file is not a valid .tar.gz:
19optional FEATURE_SEAMLESS_GZ
20testing "tar hardlinks and repeated files" '\
21tar xvzf - 2>&1; echo $?
22' "\
23tar: invalid magic
24tar: short read
251
26" \
27"" ""
28SKIP=
29
18optional FEATURE_TAR_CREATE FEATURE_LS_SORTFILES 30optional FEATURE_TAR_CREATE FEATURE_LS_SORTFILES
19testing "tar hardlinks and repeated files" '\ 31testing "tar hardlinks and repeated files" '\
20rm -rf input_* test.tar 2>/dev/null 32rm -rf input_* test.tar 2>/dev/null