diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-04-17 02:28:49 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-04-17 02:28:49 -0400 |
commit | f73a4a8844641b780644b8b96865372dc34936bd (patch) | |
tree | 15d9b3df6db290f2550a16a255c5e4d8a6caecd7 /test/runTest | |
parent | 0992cc36f525898ff07032d0ee697ecb62fedc07 (diff) |
get tests from lukeshu/archlinux+cleanup+librelib
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 |