summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJohn Mark Vandenberg <jayvdb@gmail.com>2006-01-19 08:02:05 +0000
committerJohn Mark Vandenberg <jayvdb@gmail.com>2006-01-19 08:02:05 +0000
commit188c7dac15a72c437c47664d3162b9f13844fe88 (patch)
tree802543362036f28083e912fc02351e85af4115c4 /test
parent896fa157b990e586436cbe63493bce02a31305a0 (diff)
downloadquilt-188c7dac15a72c437c47664d3162b9f13844fe88.tar.gz
- Move patch parameter checks into patchfns.in, adding quotes
around all patch parameters, and reporting 'No patches in series' - quilt/annonate.in: Fix case where no patches have been applied.
Diffstat (limited to 'test')
-rw-r--r--test/three.test29
1 files changed, 23 insertions, 6 deletions
diff --git a/test/three.test b/test/three.test
index 5047589..44daabc 100644
--- a/test/three.test
+++ b/test/three.test
@@ -5,20 +5,31 @@
$ touch e
$ quilt annotate e
+ > No patches in series
+
$ quilt top
+ > No patches in series
+
$ quilt next
+ > No patches in series
+
$ quilt previous
+ > No patches in series
+
$ quilt unapplied
+ > No patches in series
+
$ quilt applied
+ > No patches in series
$ quilt next patch1
- > Patch patch1 is not in series
+ > No patches in series
$ quilt push patch1
- > Patch patch1 is not in series
+ > No patches in series
$ quilt push
- > No patches applied
+ > No patches in series
$ quilt pop
> No patch removed
@@ -84,20 +95,26 @@
> No patches applied
$ quilt top
+ > No patches applied
+
$ quilt pop
> No patch removed
$ quilt applied
+ > No patches applied
+
$ quilt unapplied
> patches/patch1.diff
> patches/patch2.diff
$ quilt previous
+ > No patches applied
+
$ quilt next
> patches/patch1.diff
$ quilt applied patch1
- > Patch is not applied
+ > Patch patches/patch1.diff is not applied
$ quilt unapplied patch2
$ quilt unapplied patch1
@@ -139,7 +156,7 @@
$ echo patch3.diff >> %{P}/series
$ quilt diff -P patch1 --combine patch3
- > Patch patches/patch3.diff not applied before patch patches/patch1.diff
+ > Patch patches/patch3.diff is not applied
$ quilt pop -qaR
> Removing patch %{P}patch2.diff
@@ -147,7 +164,7 @@
> No patches applied
$ quilt annotate f
- > sed: can't read f: No such file or directory
+ > No patches applied
$ cd ..
$ rm -rf d