diff options
Diffstat (limited to 't/self-check-dir.tap')
-rwxr-xr-x | t/self-check-dir.tap | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/t/self-check-dir.tap b/t/self-check-dir.tap index 6a0fbd3c3..96b831a57 100755 --- a/t/self-check-dir.tap +++ b/t/self-check-dir.tap @@ -20,7 +20,7 @@ # and the creation of such directory if we want. am_create_testdir=no -. ./defs || Exit 99 +. ./defs || exit 99 plan_ 5 @@ -39,7 +39,7 @@ do_check () || framework_failure_ "cleaning up _self.dir" command_ok_ "$1 [$2]" $AM_TEST_RUNNER_SHELL -c " $2 - . ./defs || Exit 99 + . ./defs || exit 99 # Don't fail if 'ls -l' fails; avoids possible racy spurious failures. pwd; ls -l || : # For debugging. $3 @@ -48,28 +48,28 @@ do_check () do_check 'testdir has the expected path' \ 'unset am_create_testdir' \ - 'case $(pwd) in '"$cwd"'/t/_self.dir);; *) Exit 1;; esac' + 'case $(pwd) in '"$cwd"'/t/_self.dir);; *) exit 1;; esac' do_check 'fully pre-populated testdir' \ 'unset am_create_testdir' \ - 'test -f install-sh || Exit 1 - test -f configure.ac || Exit 1 - case $(pwd) in '"$cwd"'/t/_self.dir) : ;; *) Exit 1;; esac' + 'test -f install-sh || exit 1 + test -f configure.ac || exit 1 + case $(pwd) in '"$cwd"'/t/_self.dir) : ;; *) exit 1;; esac' do_check 'testdir has the expected path' \ 'am_create_testdir=empty' \ - 'case $(pwd) in '"$cwd"'/t/_self.dir) : ;; *) Exit 1;; esac' + 'case $(pwd) in '"$cwd"'/t/_self.dir) : ;; *) exit 1;; esac' do_check 'do not pre-populate testdir' \ 'am_create_testdir=empty' \ - 'ls -a | grep -v "^\\.\\{1,2\\}$" | grep . && Exit 1; :' + 'ls -a | grep -v "^\\.\\{1,2\\}$" | grep . && exit 1; :' 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 - grep "self-check-dir\.tap" Makefile || Exit 1 - case $(pwd) in '"$cwd"') : ;; *) Exit 1;; esac' + 'test ! -d t/_self.dir || exit 1 + test ! -f t/_self.dir || exit 1 + test ! -r t/_self.dir || exit 1 + grep "self-check-dir\.tap" Makefile || exit 1 + case $(pwd) in '"$cwd"') : ;; *) exit 1;; esac' : |