]> Dogcows Code - chaz/tar/blobdiff - tests/truncate.at
* tests/truncate.at: Create files whose time stamps must fall on
[chaz/tar] / tests / truncate.at
index f5fc4bad3745bd88deddd21151458a43e9656811..676d7945b391263ce99abec9ffbfae0f214c4d33 100644 (file)
@@ -31,7 +31,8 @@ AT_KEYWORDS([truncated files])
 AT_TAR_CHECK([
 genfile --file foo --length 50000k
 genfile --file baz
-genfile --run 'tar -H pax -vcf bar foo baz' --checkpoint 10 --length 49995k --truncate foo
+touch -t 197001030000 baz # avoid subsecond resolution
+genfile --run 'tar -vcf bar foo baz' --checkpoint 10 --length 49995k --truncate foo
 echo separator
 sleep 1
 dd if=/dev/zero of=foo bs=1k seek=49995 count=5 >/dev/null 2>&1
This page took 0.019596 seconds and 4 git commands to generate.