[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] [patch] use gzip rather than zcat in test/import2.test
From: |
Dean Roehrich |
Subject: |
[Quilt-dev] [patch] use gzip rather than zcat in test/import2.test |
Date: |
Wed, 5 Nov 2008 19:34:14 -0600 |
User-agent: |
Mutt/1.5.9i |
The tests expect zcat to understand the .gz suffix, but in the Solaris
environment the zcat is not GNU and it expects a .Z suffix. This modifies
the test to use gzip -dc, instead.
Dean
Index: quilt20081103/test/import2.test
===================================================================
--- quilt20081103.orig/test/import2.test 2008-11-05 16:09:34.561475000
-0600
+++ quilt20081103/test/import2.test 2008-11-05 19:24:15.280899000 -0600
@@ -90,7 +90,7 @@
> Replacing patch %{P}patch1.diff.gz with new version
# an import requiring a description merge
- $ zcat patches/patch1.diff.gz | sed -e 's/original/new/' | gzip >
t/patch1.diff.gz
+ $ gzip -dc patches/patch1.diff.gz | sed -e 's/original/new/' | gzip >
t/patch1.diff.gz
$ quilt import t/patch1.diff.gz
> Patch %{P}patch1.diff.gz exists. Replace with -f.
@@ -105,7 +105,7 @@
> Replacing patch %{P}patch1.diff.gz with new version
# quilt header does not work in this case because it stops at '---'
- $ zcat patches/patch1.diff.gz | head -n 3
+ $ gzip -dc patches/patch1.diff.gz | head -n 3
> original description
> ---
> new description
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Quilt-dev] [patch] use gzip rather than zcat in test/import2.test,
Dean Roehrich <=