summaryrefslogtreecommitdiffstats
path: root/test/add-filename-check.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/add-filename-check.test')
-rw-r--r--test/add-filename-check.test18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/add-filename-check.test b/test/add-filename-check.test
new file mode 100644
index 0000000..b056d74
--- /dev/null
+++ b/test/add-filename-check.test
@@ -0,0 +1,18 @@
+$ mkdir d
+$ cd d
+$ mkdir patches
+$ quilt new test.diff
+>Patch patches/test.diff is now on top
+
+$ echo foo > foo
+$ quilt add foo
+> File foo added to patch patches/test.diff
+
+$ quilt add patches/bar
+> File `patches/bar' is located below `patches/'
+
+$ quilt add .pc/baz
+> File `.pc/baz' is located below `.pc/'
+
+$ cd ..
+$ rm -rf d