plan_ 5
-AM_TESTS_REEXEC=no; export AM_TESTS_REEXEC
keep_testdirs=; unset keep_testdirs
# This needs to be consistent with what $AM_TEST_RUNNER_SHELL
do_check ()
{
- test ! -d _self.dir || rm -rf _self.dir \
- || framework_failure_ "cleaning up _self.dir"
+ rm -rf _self.dir || framework_failure_ "cleaning up _self.dir"
command_ok_ "$1 [$2]" $AM_TEST_RUNNER_SHELL -c "
$2
. ./defs || exit 99
do_check 'do not create nor chdir in testdir' \
'am_create_testdir=no' \
- 'test ! -d t/_self.dir || exit 1
- test ! -f t/_self.dir || exit 1
- test ! -r t/_self.dir || exit 1
+ 'test ! -e t/_self.dir || exit 1
grep "self-check-dir\.tap" Makefile || exit 1
case $(pwd) in '"$cwd"') : ;; *) exit 1;; esac'