about summary refs log tree commit diff
path: root/tests/dependencies.builder0.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dependencies.builder0.sh')
-rw-r--r--tests/dependencies.builder0.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/dependencies.builder0.sh b/tests/dependencies.builder0.sh
new file mode 100644
index 000000000000..b02108fe6b48
--- /dev/null
+++ b/tests/dependencies.builder0.sh
@@ -0,0 +1,12 @@
+[ "${input1: -2}" = /. ]
+[ "${input2: -2}" = /. ]
+
+mkdir $out
+echo $(cat $input1/foo)$(cat $input2/bar) > $out/foobar
+
+ln -s $input2 $out/input-2
+
+# Self-reference.
+ln -s $out $out/self
+
+echo FOO