]> Dogcows Code - chaz/tar/blobdiff - tests/extrac13.at
Fix --keep-old-files option.
[chaz/tar] / tests / extrac13.at
index 2f950cbabe82a3a133336ba8dc8ca65e29951ae8..7c03e02abf93b0089ecec9736bb161be30caecfc 100644 (file)
@@ -32,21 +32,21 @@ echo target1 >dst1/target1
 echo target1 >target1
 
 tar -cf archive.tar -C src . &&
-tar -xf archive.tar -C dst1 &&
-diff -c src/file1 dst1/file1 &&
-diff -c target1 dst1/target1
+tar -xf archive.tar -C dst1 --warning=no-timestamp &&
+diff src/file1 dst1/file1 &&
+diff target1 dst1/target1
 
 ln -s target1 dst2/file1
 echo target1 >dst2/target1
-tar --overwrite -xf archive.tar -C dst2 &&
-diff -c src/file1 dst2/file1 &&
-diff -c target1 dst2/target1
+tar --overwrite -xf archive.tar -C dst2 --warning=no-timestamp &&
+diff src/file1 dst2/file1 &&
+diff target1 dst2/target1
 
 ln -s target1 dst3/file1
 echo target1 >dst3/target1
-tar --overwrite -xhf archive.tar -C dst3 &&
-diff -c src/file1 dst3/file1 &&
-diff -c src/file1 dst3/target1
+tar --overwrite -xhf archive.tar -C dst3 --warning=no-timestamp &&
+diff src/file1 dst3/file1 &&
+diff src/file1 dst3/target1
 ],
 [0],[],[],[],[],[gnu])
 
This page took 0.023924 seconds and 4 git commands to generate.