From 74d5705ca9de7ce0a1edef65590594a55c1a4ea3 Mon Sep 17 00:00:00 2001 From: ZyX Date: Mon, 24 Apr 2017 22:17:34 +0300 Subject: [PATCH] ci: Source ci/common/test.sh in run_test_wd subshell --- ci/common/suite.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/common/suite.sh b/ci/common/suite.sh index 9eba5ca664..860e7f79ea 100644 --- a/ci/common/suite.sh +++ b/ci/common/suite.sh @@ -95,7 +95,9 @@ run_test_wd() { status_file="$status_file" \ sid_file="$sid_file" \ cmd="$cmd" \ + CI_DIR="$CI_DIR" \ sh -c ' + . "${CI_DIR}/common/test.sh" ps -o sid= > "$sid_file" ( ret=0