summaryrefslogtreecommitdiffstats
path: root/test/three.test
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2013-12-17 15:03:51 +0100
committerJean Delvare <jdelvare@suse.de>2013-12-17 15:03:51 +0100
commit3e24a0add4202f3c52c3336800b0130b76acc651 (patch)
treeba83989d1b99ee0cacde2d4f88a497311b9ad53b /test/three.test
parent3b88b2976a2e59cba312838fca6a688231f0c60f (diff)
downloadquilt-3e24a0add4202f3c52c3336800b0130b76acc651.tar.gz
test: Check more return status
Quilt pop at the bottom of the stack returns 2, as does quilt push at the top of the stack.
Diffstat (limited to 'test/three.test')
-rw-r--r--test/three.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/three.test b/test/three.test
index a28b48d..4a04982 100644
--- a/test/three.test
+++ b/test/three.test
@@ -30,6 +30,8 @@
$ quilt pop
> No patch removed
+ $ echo %{?}
+ > 2
$ quilt new patch1.diff
> Patch %{P}patch1.diff is now on top
@@ -96,6 +98,8 @@
$ quilt pop
> No patch removed
+ $ echo %{?}
+ > 2
$ quilt applied
> No patches applied
@@ -133,6 +137,8 @@
$ quilt push
> File series fully applied, ends at patch patches/patch2.diff
+ $ echo %{?}
+ > 2
$ quilt diff --combine patch1 -P patch2 -p ab
> Index: b/f