From: fennecdjay Date: Fri, 7 Jun 2019 22:24:28 +0000 (+0200) Subject: :wrench: Improve test.sh portability X-Git-Tag: nightly~2443^2~15 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=7299276589557a4898312da6a900eedc7c839417;p=gwion.git :wrench: Improve test.sh portability --- diff --git a/tests/sh/plugin.sh b/tests/sh/plugin.sh index 2a2beaac..953f68a5 100644 --- a/tests/sh/plugin.sh +++ b/tests/sh/plugin.sh @@ -32,7 +32,7 @@ rm "empty.so" BASE_DIR="$PWD" cd tests/import || exit for test_file in *.c -do test_plugin "${test_file:0:-2}" +do test_plugin "$(basename $test_file .c)" done # clean