summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2012-01-31 16:44:02 +0100
committerJean Delvare <jdelvare@suse.de>2012-01-31 16:44:02 +0100
commitff960bbd35c4e3aeef7c197e620375805f5e97a3 (patch)
treeb2cb476568cd8583acab55d7e1854d25d0a09eab /test
parentc5b99140789c7624a9bb407efb55d5a9bc37a174 (diff)
downloadquilt-ff960bbd35c4e3aeef7c197e620375805f5e97a3.tar.gz
import: Fix import of patches from a subdirectory (bug #35244)
Diffstat (limited to 'test')
-rw-r--r--test/import.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/import.test b/test/import.test
index 8eb40c7..6336854 100644
--- a/test/import.test
+++ b/test/import.test
@@ -246,3 +246,12 @@
$ cat patches/series
> patch1.diff
> patchR.diff
+
+# Also test importing when in a subdirectory
+ $ touch empty.patch
+ $ cd t
+ $ touch empty2.patch
+ $ quilt import ../empty.patch
+ > Importing patch ../empty.patch (stored as ../patches/empty.patch)
+ $ quilt import %{PWD}/empty2.patch
+ > Importing patch %{PWD}/empty2.patch (stored as ../patches/empty2.patch)