Files
lix/tests/functional/dependencies.builder0.sh
T
Maximilian Bosch 57e071e815 why-depends: asyncify printNode
Instead of logging directly, we now write into a `Strings` set that is
referenced by the caller.

While at it, added a test-case to ensure that self-reference invocations
and --all behave properly.

Change-Id: Ib183ab8e8e90436300e1c870fb3ae8f18730abbf
2025-07-07 11:44:17 +00:00

18 lines
314 B
Bash

[ "${input1: -2}" = /. ]
[ "${input2: -2}" = /. ]
mkdir $out
echo $(cat $input1/foo)$(cat $input2/bar) > $out/foobar
ln -s $input2 $out/reference-to-input-2
ln -s $input3 $out/reference-to-input-3
# Self-reference.
ln -s $out $out/self
# Executable.
echo program > $out/program
chmod +x $out/program
echo FOO