diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-12-16 14:43:19 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-12-16 14:46:24 +0100 |
commit | cae8192e0e5e922615a813426fa0df3e177724cb (patch) | |
tree | 5a2cc78dbade2209f774bc7d8ba274ebcae48420 /tests/cantrbry.sh.in | |
parent | 026381843e1e17b00a68c57734117cb459853d5c (diff) |
Corpora tests: fix behaviour if SOURCE_DATE_EPOCH is set
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/cantrbry.sh.in')
-rwxr-xr-x | tests/cantrbry.sh.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/cantrbry.sh.in b/tests/cantrbry.sh.in index c8ba917..04a6448 100755 --- a/tests/cantrbry.sh.in +++ b/tests/cantrbry.sh.in @@ -17,13 +17,15 @@ for size in 4096 8192 16384 32768 65536 131072 262144 524288 1048576; do xzcat "$CORPUS" | \ "$TAR2SQFS" -q -c "$cmp" -b "$size" \ - -j "$threads" "$name" + -j "$threads" --defaults mtime=0 \ + "$name" name="cantrbry_${cmp}_${size}_${threads}_T.sqfs" xzcat "$CORPUS" | \ "$TAR2SQFS" -qT -c "$cmp" -b "$size" \ - -j "$threads" "$name" + -j "$threads" --defaults mtime=0 \ + "$name" done # check that the ones with > 1 thread are identical, |