randomconfig testsuite fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-05-10 05:53:16 +02:00
parent 1602a5cdb9
commit e3d90a90d4
10 changed files with 43 additions and 6 deletions

View File

@ -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" "\