summaryrefslogtreecommitdiff
path: root/testsuite/tar.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2010-05-10 05:53:16 +0200
committerDenys Vlasenko2010-05-10 05:53:16 +0200
commite3d90a90d43b857a5305808560d485b030a15c0a (patch)
treec731624c6ac8755ae485f600235d4b29ff337582 /testsuite/tar.tests
parent1602a5cdb9b68aec34389961b1c1d134d8b59d07 (diff)
downloadbusybox-e3d90a90d43b857a5305808560d485b030a15c0a.zip
busybox-e3d90a90d43b857a5305808560d485b030a15c0a.tar.gz
randomconfig testsuite fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 a963829..ecd212f 100755
--- a/testsuite/tar.tests
+++ b/testsuite/tar.tests
@@ -9,6 +9,7 @@ mkdir tar.tempdir && cd tar.tempdir || exit 1
# testing "test name" "script" "expected result" "file input" "stdin"
+optional FEATURE_TAR_CREATE
testing "tar hardlinks and repeated files" '\
rm -rf input_* test.tar 2>/dev/null
>input_hard1
@@ -39,7 +40,9 @@ drwxr-xr-x input_dir
-rw-r--r-- input_hard2
" \
"" ""
+SKIP=
+optional FEATURE_TAR_CREATE
testing "tar hardlinks mode" '\
rm -rf input_* test.tar 2>/dev/null
>input_hard1
@@ -68,7 +71,9 @@ dr-xr-x--- input_dir
-rwxr----x input_hard2
" \
"" ""
+SKIP=
+optional FEATURE_TAR_CREATE
testing "tar symlinks mode" '\
rm -rf input_* test.tar 2>/dev/null
>input_file
@@ -97,6 +102,7 @@ dr-xr-x--- input_dir
lrwxrwxrwx input_file
" \
"" ""
+SKIP=
optional FEATURE_TAR_LONG_OPTIONS
testing "tar --overwrite" "\