summary refs log tree commit diff
path: root/tests/simple.builder.sh
blob: 569e8ca88c1e479d9c1cfefb5582fd93de2e5966 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
echo "PATH=$PATH"

# Verify that the PATH is empty.
if mkdir foo 2> /dev/null; then exit 1; fi

# Set a PATH (!!! impure).
export PATH=$goodPath

mkdir $out

echo "Hello World!" > $out/hello