aboutsummaryrefslogtreecommitdiff
path: root/testsuite/tar.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tar.tests')
-rwxr-xr-xtestsuite/tar.tests6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tar.tests b/testsuite/tar.tests
index a96382932..ecd212fbf 100755
--- a/testsuite/tar.tests
+++ b/testsuite/tar.tests
@@ -9,6 +9,7 @@ mkdir tar.tempdir && cd tar.tempdir || exit 1
9 9
10# testing "test name" "script" "expected result" "file input" "stdin" 10# testing "test name" "script" "expected result" "file input" "stdin"
11 11
12optional FEATURE_TAR_CREATE
12testing "tar hardlinks and repeated files" '\ 13testing "tar hardlinks and repeated files" '\
13rm -rf input_* test.tar 2>/dev/null 14rm -rf input_* test.tar 2>/dev/null
14>input_hard1 15>input_hard1
@@ -39,7 +40,9 @@ drwxr-xr-x input_dir
39-rw-r--r-- input_hard2 40-rw-r--r-- input_hard2
40" \ 41" \
41"" "" 42"" ""
43SKIP=
42 44
45optional FEATURE_TAR_CREATE
43testing "tar hardlinks mode" '\ 46testing "tar hardlinks mode" '\
44rm -rf input_* test.tar 2>/dev/null 47rm -rf input_* test.tar 2>/dev/null
45>input_hard1 48>input_hard1
@@ -68,7 +71,9 @@ dr-xr-x--- input_dir
68-rwxr----x input_hard2 71-rwxr----x input_hard2
69" \ 72" \
70"" "" 73"" ""
74SKIP=
71 75
76optional FEATURE_TAR_CREATE
72testing "tar symlinks mode" '\ 77testing "tar symlinks mode" '\
73rm -rf input_* test.tar 2>/dev/null 78rm -rf input_* test.tar 2>/dev/null
74>input_file 79>input_file
@@ -97,6 +102,7 @@ dr-xr-x--- input_dir
97lrwxrwxrwx input_file 102lrwxrwxrwx input_file
98" \ 103" \
99"" "" 104"" ""
105SKIP=
100 106
101optional FEATURE_TAR_LONG_OPTIONS 107optional FEATURE_TAR_LONG_OPTIONS
102testing "tar --overwrite" "\ 108testing "tar --overwrite" "\