summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/header.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/header.test b/test/header.test
index f6367b5..7e0cbca 100644
--- a/test/header.test
+++ b/test/header.test
@@ -42,3 +42,16 @@
> @@ -1 +1 @@
> -foo
> +bar
+
+ $ echo -n "No trailing newline" | quilt header -r
+ > Replaced header of patch patches/patch
+
+ $ cat patches/patch
+ > No trailing newline
+ > Index: b/foo
+ > ===================================================================
+ > --- a/foo
+ > +++ b/foo
+ > @@ -1 +1 @@
+ > -foo
+ > +bar