diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-04-17 01:59:40 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-04-17 01:59:40 -0400 |
commit | fdc37e5cf06d845a88971881a99de034a723c94a (patch) | |
tree | 6a12e5972fecd04800713d0e50dbc4d4a3d51d49 /test/runTest | |
parent | ff2983c207e6ab2a9381e20312355c42307187f6 (diff) |
Grab an updated test/ directory from lukeshu/archlinux+cleanup+librelib
It's not like we were running the tests anyway, and this makes merging
easier.
Diffstat (limited to 'test/runTest')
-rwxr-xr-x | test/runTest | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/runTest b/test/runTest index b8713d8..7163e30 100755 --- a/test/runTest +++ b/test/runTest @@ -1,12 +1,12 @@ #!/bin/bash -. "$(dirname ${BASH_SOURCE[0]})/lib/common.inc" +. "$(dirname "${BASH_SOURCE[0]}")/lib/common.inc" -for t in "$(dirname ${BASH_SOURCE[0]})/test.d/"*.sh; do - l=$(basename ${t} .sh) - if [ -x ${t} ]; then +for t in "$(dirname "${BASH_SOURCE[0]}")/test.d/"*.sh; do + l=$(basename "${t}" .sh) + if [ -x "${t}" ]; then msg "Running test '${l}'" - ${t} + "${t}" [ $? -ne 0 ] && die "Test '${l}' failed" echo -e "\n\n\n" else |