]> Dogcows Code - chaz/tar/commitdiff
Updated
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 13 Nov 2003 22:27:56 +0000 (22:27 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 13 Nov 2003 22:27:56 +0000 (22:27 +0000)
tests/delete03.sh
tests/extrac04.sh
tests/multiv01.sh

index f25a077d3d2b64b1e4baad0012047c46088bf890..158752af390f4bb99ebae801e1c8f227912a6c57 100755 (executable)
@@ -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
index 6385a7f8612e1d55b4b1bed2632a7c97b648a4fc..09b1e47c7928a9c22ab99925536672bc6587f6ae 100755 (executable)
@@ -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
index 6801b911be9d16e39d4a1e37bb0e39aef00165e0..e68a4592669c49b8bfdc3e8de8848b1d95e25337 100755 (executable)
@@ -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
 "
This page took 0.025981 seconds and 4 git commands to generate.