summaryrefslogtreecommitdiff
path: root/tests/sources/local/file-exists/target.bst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sources/local/file-exists/target.bst')
-rw-r--r--tests/sources/local/file-exists/target.bst14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/sources/local/file-exists/target.bst b/tests/sources/local/file-exists/target.bst
new file mode 100644
index 000000000..9e36fa41b
--- /dev/null
+++ b/tests/sources/local/file-exists/target.bst
@@ -0,0 +1,14 @@
+kind: import
+description: |
+
+ This is the regular file staged twice, second time we stage into a subdir
+ of the staging area. The subdir we specify is the file we already staged,
+ provoking a plausible error where the user tries to stage something
+ unreasonable.
+
+sources:
+- kind: local
+ path: files/file.txt
+- kind: local
+ path: files/file.txt
+ directory: file.txt