equal
deleted
inserted
replaced
|
1 Patch to allow us to specify an alternate pixz binary when running tests. |
|
2 |
|
3 This patch should be sent upstream. |
|
4 |
|
5 --- pixz-1.0/test.sh.orig 2015-10-01 05:53:31.844847241 -0700 |
|
6 +++ pixz-1.0/test.sh 2015-10-01 06:03:39.267035275 -0700 |
|
7 @@ -3,13 +3,15 @@ |
|
8 tarball=$1 |
|
9 sample=$2 |
|
10 |
|
11 +PIXZ="${PIXZ_BIN:-./pixz}" |
|
12 + |
|
13 echo XZ |
|
14 time xz -c < "$tarball" > test.txz |
|
15 time xz -cd < test.txz | tar xO "$sample" | md5sum |
|
16 |
|
17 echo; echo; echo PIXZ |
|
18 -time ./pixz < "$tarball" > test.tpxz |
|
19 -time ./pixz -x "$sample" < test.tpxz | tar xO "$sample" | md5sum |
|
20 +time $PIXZ < "$tarball" > test.tpxz |
|
21 +time $PIXZ -x "$sample" < test.tpxz | tar xO "$sample" | md5sum |
|
22 |
|
23 echo; echo; echo CROSS |
|
24 xz -cd < test.tpxz | tar xO "$sample" | md5sum |