1 From: Dean Roehrich <Dean.Roehrich@sun.com>
2 Subject: [Quilt-dev] [patch] use gzip rather than zcat in test/import2.test
3 Date: Wed, 05 Nov 2008 19:34:14 CST
4 To: quilt-dev@nongnu.org
6 The tests expect zcat to understand the .gz suffix, but in the Solaris
7 environment the zcat is not GNU and it expects a .Z suffix. This modifies
8 the test to use gzip -dc, instead.
13 Index: test/import2.test
14 ===================================================================
15 --- test/import2.test.orig 2008-11-05 20:00:39.305395000 -0600
16 +++ test/import2.test 2008-11-05 20:01:03.827736000 -0600
18 > Replacing patch %{P}patch1.diff.gz with new version
20 # an import requiring a description merge
21 - $ zcat patches/patch1.diff.gz | sed -e 's/original/new/' | gzip > t/patch1.diff.gz
22 + $ gzip -dc patches/patch1.diff.gz | sed -e 's/original/new/' | gzip > t/patch1.diff.gz
23 $ quilt import t/patch1.diff.gz
24 > Patch %{P}patch1.diff.gz exists. Replace with -f.
27 > Replacing patch %{P}patch1.diff.gz with new version
29 # quilt header does not work in this case because it stops at '---'
30 - $ zcat patches/patch1.diff.gz | head -n 3
31 + $ gzip -dc patches/patch1.diff.gz | head -n 3
32 > original description