From eb2bf5b6bfd04f7e123d7561725b00f807486849 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 2 Sep 2010 18:38:00 -0700 Subject: Fix some test cases The tar tests still don't pass, but at least now it's because of a problem with Busybox and not the tests themselves. Signed-off-by: Dan Fandrich Signed-off-by: Denys Vlasenko --- testsuite/tar.tests | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuite/tar.tests') diff --git a/testsuite/tar.tests b/testsuite/tar.tests index cef16b65e..8b2523ff1 100755 --- a/testsuite/tar.tests +++ b/testsuite/tar.tests @@ -55,11 +55,13 @@ rm -rf input_* test.tar 2>/dev/null chmod 741 input_hard1 ln input_hard1 input_hard2 mkdir input_dir -chmod 550 input_dir ln input_hard1 input_dir ln input_hard2 input_dir +chmod 550 input_dir tar cf test.tar input_* tar tvf test.tar | sed "s/.*[0-9] input/input/" +chmod 770 input_dir +rm -rf input_* tar xf test.tar 2>&1 echo Ok: $? ls -l . input_dir/* | grep input_ | sed "s/\\(^[^ ]*\\) .* input/\\1 input/" @@ -86,11 +88,13 @@ rm -rf input_* test.tar 2>/dev/null chmod 741 input_file ln -s input_file input_soft mkdir input_dir -chmod 550 input_dir ln input_file input_dir ln input_soft input_dir +chmod 550 input_dir tar cf test.tar input_* tar tvf test.tar | sed "s/.*[0-9] input/input/" | sort +chmod 770 input_dir +rm -rf input_* tar xf test.tar 2>&1 echo Ok: $? ls -l . input_dir/* | grep input_ | sed "s/\\(^[^ ]*\\) .* input/\\1 input/" -- cgit v1.2.3