From c506c33ad333f80fa59a669e3bd371cbfeda1eb3 Mon Sep 17 00:00:00 2001 From: uid65697 Date: Thu, 25 Dec 2003 10:20:54 +0000 Subject: [PATCH] (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. --- tests/delete03.sh | 21 +++++++++------------ tests/extrac04.sh | 5 +---- tests/multiv01.sh | 1 - 3 files changed, 10 insertions(+), 17 deletions(-) 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 " -- 2.45.2