From: Sergey Poznyakoff Date: Thu, 13 Nov 2003 22:27:56 +0000 (+0000) Subject: Updated X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=347ea38cc46b297b2709bce9d296e2460b9128bd;p=chaz%2Ftar Updated --- diff --git a/tests/delete03.sh b/tests/delete03.sh index f25a077..158752a 100755 --- a/tests/delete03.sh +++ b/tests/delete03.sh @@ -28,18 +28,21 @@ for i in 1 2 3 4 5 6 7 8 9 do touch $prefix$i done tar -cf archive ./$prefix* -tar --delete -f archive ./${prefix}5 +tar --delete -f archive ${prefix}5 tar -tf archive out="\ -./${prefix}1 -./${prefix}2 -./${prefix}3 -./${prefix}4 -./${prefix}6 -./${prefix}7 -./${prefix}8 -./${prefix}9 +${prefix}1 +${prefix}2 +${prefix}3 +${prefix}4 +${prefix}6 +${prefix}7 +${prefix}8 +${prefix}9 +" + +err="tar: Removing leading \`./' from member names " . $srcdir/after diff --git a/tests/extrac04.sh b/tests/extrac04.sh index 6385a7f..09b1e47 100755 --- a/tests/extrac04.sh +++ b/tests/extrac04.sh @@ -14,7 +14,7 @@ touch directory/subdirectory/file1 touch directory/subdirectory/file2 tar -cf archive ./file1 directory tar -tf archive \ - --exclude='./*1' \ + --exclude='*1' \ --exclude='d*/*1' \ --exclude='d*/s*/*2' | sort @@ -24,4 +24,7 @@ directory/file2 directory/subdirectory/ " +err="tar: Removing leading \`./' from member names +" + . $srcdir/after diff --git a/tests/multiv01.sh b/tests/multiv01.sh index 6801b91..e68a459 100755 --- a/tests/multiv01.sh +++ b/tests/multiv01.sh @@ -37,6 +37,7 @@ out="\ err="\ 7+0 records in 7+0 records out +tar: Removing leading \`./' from member names 2+1 records in 2+1 records out "