diff options
author | Jean Delvare <jdelvare@suse.de> | 2015-03-19 13:47:04 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2015-03-19 13:47:04 +0100 |
commit | 040712b4ef7527396fd453b0e1f031681d308066 (patch) | |
tree | 5a55e8d8228991eae9ee4243f73b2f40315406e4 /test/hard-linked-patch.test | |
parent | 28d7276f4be91467c144cb89310b31f96d65bd42 (diff) | |
download | quilt-040712b4ef7527396fd453b0e1f031681d308066.tar.gz |
hard-linked-patch.test: Test the header command
Extend the hard-linked patch test case to also check the behavior
when updating the header of such a patch.
Diffstat (limited to 'test/hard-linked-patch.test')
-rw-r--r-- | test/hard-linked-patch.test | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/hard-linked-patch.test b/test/hard-linked-patch.test index 7063fd0..279c595 100644 --- a/test/hard-linked-patch.test +++ b/test/hard-linked-patch.test @@ -34,3 +34,27 @@ $ cat hardlink > @@ -1 +1 @@ > -a > +b + +Same goes for a patch header update. + +$ rm -f hardlink +$ ln patches/patch hardlink + +$ quilt header -r +< c is so much better than a +> Replaced header of patch patches/patch + +$ cat patches/patch +> c is so much better than a +> --- file.orig +> +++ file +> @@ -1 +1 @@ +> -a +> +c + +$ cat hardlink +> --- file.orig +> +++ file +> @@ -1 +1 @@ +> -a +> +c |