diff options
Diffstat (limited to 'test/lib/test')
-rwxr-xr-x | test/lib/test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/test b/test/lib/test index ae42864..12f2588 100755 --- a/test/lib/test +++ b/test/lib/test @@ -415,12 +415,12 @@ test_one() { } # test() - Build list of tests to run, in order, then issue test_one() -# $1: Name of directory containing set of test files, relative to test/ +# $@: Test files to run, relative to test/ test() { __list= cd test - for __f in "${1}"/*; do + for __f; do __type="$(file -b --mime-type ${__f})" if [ "${__type}" = "text/x-shellscript" ]; then __list="$(list_add "${__list}" "${__f}")" |