aboutsummaryrefslogtreecommitdiff
path: root/tests/dependencies.builder0.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dependencies.builder0.sh')
-rw-r--r--tests/dependencies.builder0.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/dependencies.builder0.sh b/tests/dependencies.builder0.sh
new file mode 100644
index 000000000..c37bf909a
--- /dev/null
+++ b/tests/dependencies.builder0.sh
@@ -0,0 +1,16 @@
+[ "${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
+
+# Executable.
+echo program > $out/program
+chmod +x $out/program
+
+echo FOO