blob: 0153ace8ea3392d600bcec66a0fc121c1b8c08ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Do not generate timestamps in gzipped file headers.
The timestamps prevent reproducible build.
Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/233]
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
diff --git a/testcases/network/generate.sh b/testcases/network/generate.sh
index 00216a6..939f792 100755
--- a/testcases/network/generate.sh
+++ b/testcases/network/generate.sh
@@ -55,7 +55,7 @@ fi
if [ ! -e "bin.sm" ] ; then
cnt=0
while [ $cnt -lt 5 ] ; do
- gzip -1 -c ascii.sm >> "bin.sm"
+ gzip -1 -c -n ascii.sm >> "bin.sm"
cnt=$(($cnt + 1))
done
fi
|