Pārlūkot izejas kodu

tests: fix parallel execution to be working dir independent

Git-Dch: Ignore
David Kalnischkies 10 gadi atpakaļ
vecāks
revīzija
8e0c56db82
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      test/integration/run-tests

+ 1 - 1
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