summaryrefslogtreecommitdiff
path: root/tests/cantrbry.sh.in
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-16 14:43:19 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-16 14:46:24 +0100
commitcae8192e0e5e922615a813426fa0df3e177724cb (patch)
tree5a2cc78dbade2209f774bc7d8ba274ebcae48420 /tests/cantrbry.sh.in
parent026381843e1e17b00a68c57734117cb459853d5c (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-xtests/cantrbry.sh.in6
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,