summaryrefslogtreecommitdiffstats
path: root/test/annotate.test
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-09-09 18:27:51 +0000
committerJean Delvare <khali@linux-fr.org>2005-09-09 18:27:51 +0000
commit90eddd873587e6dc65161927476ecf9b2c031121 (patch)
treebc40457c5ca0e51afa24112f78a5280cceba6ee6 /test/annotate.test
parentdc5babe944639e0404a7fce2f2e64155d0271e89 (diff)
downloadquilt-90eddd873587e6dc65161927476ecf9b2c031121.tar.gz
- test/*.test: Fix sed compatibility issues: do not use inplace (-i); do
not filter out tabs in patches, it's no more needed now that --no-timestamps is used; do not use the "a" command. Based on a patch by John Vandenberg.
Diffstat (limited to 'test/annotate.test')
-rw-r--r--test/annotate.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/annotate.test b/test/annotate.test
index e0906a1..3ca7514 100644
--- a/test/annotate.test
+++ b/test/annotate.test
@@ -12,7 +12,8 @@
$ quilt add foo
> File foo added to patch patches/patch
- $ sed -ie 's:b:B:' foo
+ $ sed -e 's:b:B:' foo > foo.new
+ $ mv foo.new foo
$ quilt refresh
> Refreshed patch patches/patch
@@ -29,7 +30,8 @@
$ quilt add foo
> File foo added to patch patches/patch2
- $ sed -ie 's:Baz:baz:' foo
+ $ sed -e 's:Baz:baz:' foo > foo.new
+ $ mv foo.new foo
$ quilt refresh
> Refreshed patch patches/patch2
@@ -47,7 +49,8 @@
$ quilt add foo
> File foo added to patch patches/patch3
- $ sed -ie '/Bar/d' foo
+ $ sed -e '/Bar/d' foo > foo.new
+ $ mv foo.new foo
$ quilt refresh
> Refreshed patch patches/patch3