diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-12-31 23:22:36 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-12-31 23:22:36 +0100 |
commit | 198b02f7dd61c6cb9fd4c379dc56edcf537a7ee1 (patch) | |
tree | 055b2ab0f2636e100781ddefdbf95417e44bb6df /testsuite/tar.tests | |
parent | 61be8e46a80749fe5bb16bc8f831c689d21a4e34 (diff) | |
download | busybox-w32-198b02f7dd61c6cb9fd4c379dc56edcf537a7ee1.tar.gz busybox-w32-198b02f7dd61c6cb9fd4c379dc56edcf537a7ee1.tar.bz2 busybox-w32-198b02f7dd61c6cb9fd4c379dc56edcf537a7ee1.zip |
fix failures found by randomconfig builds
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '')
-rwxr-xr-x | testsuite/tar.tests | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/tar.tests b/testsuite/tar.tests index 93ba5f004..9ea89f15f 100755 --- a/testsuite/tar.tests +++ b/testsuite/tar.tests | |||
@@ -25,10 +25,12 @@ tar: short read | |||
25 | SKIP= | 25 | SKIP= |
26 | 26 | ||
27 | optional FEATURE_SEAMLESS_GZ | 27 | optional FEATURE_SEAMLESS_GZ |
28 | # In NOMMU case, "invalid magic" message comes from gunzip child process. | ||
29 | # Otherwise, it comes from tar. | ||
30 | # Need to fix output up to avoid false positive. | ||
28 | testing "Empty file is not a tarball.tar.gz" '\ | 31 | testing "Empty file is not a tarball.tar.gz" '\ |
29 | tar xvzf - 2>&1; echo $? | 32 | { tar xvzf - 2>&1; echo $?; } | grep -Fv "invalid magic" |
30 | ' "\ | 33 | ' "\ |
31 | tar: invalid magic | ||
32 | tar: short read | 34 | tar: short read |
33 | 1 | 35 | 1 |
34 | " \ | 36 | " \ |