summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-03-16 17:41:11 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-03-16 17:44:47 +0100
commit8e0c56db82fe10b0f8ceadf3187ffc672eaaff3a (patch)
tree6ec445115682696e71022ae49b13dcf60e9e4c77 /test/integration
parenta99c3a5f51d31f72174c91643e1e04002686452a (diff)
tests: fix parallel execution to be working dir independent
Git-Dch: Ignore
Diffstat (limited to 'test/integration')
-rwxr-xr-xtest/integration/run-tests2
1 files changed, 1 insertions, 1 deletions
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