aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/target/out-qualified/src/build/bootstrap.build2
-rw-r--r--tests/target/out-qualified/src/buildfile5
-rw-r--r--tests/target/out-qualified/src/foo0
-rwxr-xr-xtests/target/out-qualified/test.sh3
-rwxr-xr-xtests/test.sh1
5 files changed, 11 insertions, 0 deletions
diff --git a/tests/target/out-qualified/src/build/bootstrap.build b/tests/target/out-qualified/src/build/bootstrap.build
new file mode 100644
index 0000000..056ee6f
--- /dev/null
+++ b/tests/target/out-qualified/src/build/bootstrap.build
@@ -0,0 +1,2 @@
+project = test
+amalgamation =
diff --git a/tests/target/out-qualified/src/buildfile b/tests/target/out-qualified/src/buildfile
new file mode 100644
index 0000000..1bcaa32
--- /dev/null
+++ b/tests/target/out-qualified/src/buildfile
@@ -0,0 +1,5 @@
+./: file{foo}
+
+# Use --verbose 6 to debug.
+#
+file{foo}@./: x = y
diff --git a/tests/target/out-qualified/src/foo b/tests/target/out-qualified/src/foo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/target/out-qualified/src/foo
diff --git a/tests/target/out-qualified/test.sh b/tests/target/out-qualified/test.sh
new file mode 100755
index 0000000..f1ece0e
--- /dev/null
+++ b/tests/target/out-qualified/test.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+b -q src/@out/
diff --git a/tests/test.sh b/tests/test.sh
index f29b43a..9ce7152 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -22,6 +22,7 @@ test "names"
test "pairs"
test "quote"
test "scope"
+test "target/out-qualified"
test "variable/dir-path"
test "variable/expansion"
test "variable/null"