functionality-test-suite-20020114
[openafs.git] / src / tests / exec
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