From cae8192e0e5e922615a813426fa0df3e177724cb Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 16 Dec 2019 14:43:19 +0100 Subject: Corpora tests: fix behaviour if SOURCE_DATE_EPOCH is set Signed-off-by: David Oberhollenzer --- tests/cantrbry.sh.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/cantrbry.sh.in') 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, -- cgit v1.2.3