summaryrefslogtreecommitdiffstats
path: root/test/three.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/three.test')
-rw-r--r--test/three.test18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/three.test b/test/three.test
index 204b1c1..7abc835 100644
--- a/test/three.test
+++ b/test/three.test
@@ -61,6 +61,24 @@
$ quilt refresh
> Refreshed patch %{P}patch2.diff
+ # Test diff called with multiple file names
+ $ quilt diff -p0 f g
+ > Index: g
+ > ===================================================================
+ > --- /dev/null
+ > +++ g
+ > @@ -0,0 +1 @@
+ > +g
+
+ # Test that diff strips the "./" prefix
+ $ quilt diff -p0 ./f ./g
+ > Index: g
+ > ===================================================================
+ > --- /dev/null
+ > +++ g
+ > @@ -0,0 +1 @@
+ > +g
+
$ quilt pop
> Removing patch patches/patch2.diff
> Removing g