From: uid65697 Date: Thu, 25 Dec 2003 10:20:54 +0000 (+0000) Subject: (safer_name_suffix): Reverted change made 2003-11-14. Reason: Discussion with Paul... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=c506c33ad333f80fa59a669e3bd371cbfeda1eb3;p=chaz%2Ftar (safer_name_suffix): Reverted change made 2003-11-14. Reason: Discussion with Paul Eggert and Jean-Louis Martineau. See also ChangeLog entry from 1999-08-14. --- diff --git a/tests/delete03.sh b/tests/delete03.sh index 158752a..f25a077 100755 --- a/tests/delete03.sh +++ b/tests/delete03.sh @@ -28,21 +28,18 @@ 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 -" - -err="tar: Removing leading \`./' from member names +./${prefix}1 +./${prefix}2 +./${prefix}3 +./${prefix}4 +./${prefix}6 +./${prefix}7 +./${prefix}8 +./${prefix}9 " . $srcdir/after diff --git a/tests/extrac04.sh b/tests/extrac04.sh index 09b1e47..6385a7f 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,7 +24,4 @@ directory/file2 directory/subdirectory/ " -err="tar: Removing leading \`./' from member names -" - . $srcdir/after diff --git a/tests/multiv01.sh b/tests/multiv01.sh index e68a459..6801b91 100755 --- a/tests/multiv01.sh +++ b/tests/multiv01.sh @@ -37,7 +37,6 @@ out="\ err="\ 7+0 records in 7+0 records out -tar: Removing leading \`./' from member names 2+1 records in 2+1 records out "