From: David Kalnischkies Date: Wed, 16 Mar 2016 16:41:11 +0000 (+0100) Subject: tests: fix parallel execution to be working dir independent X-Git-Tag: 1.2.8~20 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/8e0c56db82fe10b0f8ceadf3187ffc672eaaff3a?ds=inline tests: fix parallel execution to be working dir independent Git-Dch: Ignore --- diff --git a/test/integration/run-tests b/test/integration/run-tests index 7a250d2c5..78f24fbaf 100755 --- a/test/integration/run-tests +++ b/test/integration/run-tests @@ -89,7 +89,7 @@ if [ -n "$APT_TEST_JOBS" ]; then if [ "$MSGCOLOR" != 'NO' ]; then export MSGCOLOR='ALWAYS' fi - exec parallel -j "$APT_TEST_JOBS" "$0" -- $(echo "$TESTLIST") + exec parallel -j "$APT_TEST_JOBS" "./$(basename "$0")" -- $(echo "$TESTLIST") fi TOTAL="$(echo "$TESTLIST" | wc -l)" for testcase in $TESTLIST; do