# Sanity check for the automake testsuite.
# Check creation/removal of temporary test working directory by './defs'.
-. ./defs || Exit 1
+. ./defs || exit 1
plan_ 43
command_ok_ "post-cleanup can deal with low-perms testdir" \
$AM_TEST_RUNNER_SHELL -c '
stderr_fileno_=2
- . ./defs || Exit 1
+ . ./defs || exit 1
set -e
mkdir dir dir/sub
cd dir
$AM_TEST_RUNNER_SHELL -c '
ocwd=$(pwd) || exit 1
stderr_fileno_=2
- . ./defs || Exit 1
+ . ./defs || exit 1
ln -s "$ocwd/dir" "$ocwd/file" .
' t/dummy.sh
ls -l # For debugging.
stderr_fileno_=2
. ./defs
: > foo
- Exit $st
+ exit $st
" t/dummy.sh
command_ok_ "testdir not removed if exiting with status $st" \
test -f t/dummy.dir/foo