소스 검색

tests: fix parallel execution to be working dir independent

Git-Dch: Ignore
David Kalnischkies 10 년 전
부모
커밋
8e0c56db82
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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