X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=tests%2Fincremen.sh;h=24868aaea09a499ea83fd0568901f117cf1b0945;hb=9e0d0592059515045e12e50e7fbad8271d243e14;hp=40adbf81ccf32e22a03cf10841af3a898a96cdb5;hpb=a86cdfa58b6dfc99401877d1f11ea385b2ff0b7b;p=chaz%2Ftar diff --git a/tests/incremen.sh b/tests/incremen.sh index 40adbf8..24868aa 100755 --- a/tests/incremen.sh +++ b/tests/incremen.sh @@ -3,6 +3,7 @@ . ./preset . $srcdir/before +prereq gnu oldgnu set -e mkdir structure @@ -22,12 +23,12 @@ ls -l structure/file >/dev/null # backing it up. sleep 1 -tar cf archive --format=gnu --listed=list structure -tar cfv archive --format=gnu --listed=list structure +tar cf archive --listed=list structure +tar cfv archive --listed=list structure echo ----- sleep 1 echo y >structure/file -tar cfv archive --format=gnu --listed=list structure +tar cfv archive --listed=list structure out="\ structure/