From 8e0c56db82fe10b0f8ceadf3187ffc672eaaff3a Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 16 Mar 2016 17:41:11 +0100 Subject: tests: fix parallel execution to be working dir independent Git-Dch: Ignore --- test/integration/run-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3