source ../testsupport.sh

rm -f test.world.txt test.txt

run

grep -q "Stage hello" test.out || err "Failed to find expected stage hello"
grep -q "Stage world" test.out || err "Failed to find expected stage world"
grep -q "1 2 3 4" test.out || err "Failed to find expected output '1 2 3 4'"

true
