*** empty log message ***
[arla.git] / tests / exec
blobf6535c0531b15916ec1514b338bb0e71f051b1d4
1 #!/bin/sh
2 echo '#!/bin/sh' > foo.sh
3 export objdir
4 echo '$objdir/echo-n "foo"' >> foo.sh
5 test -f foo.sh || exit 1
6 chmod +x foo.sh
7 test -x foo.sh || exit 1
8 FOO=`./foo.sh`
9 test "X"$FOO = "Xfoo" || exit 1