mirror of
https://github.com/troglobit/finit.git
synced 2026-10-28 12:30:44 +00:00
test: rename tenv-root -> sysroot
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
82c6e4680f
commit
8b9258aa73
12 files changed
+29
-28
No files matched your search
+4
-3
@@ -11,8 +11,8 @@ else
|
||||
fi
|
||||
|
||||
TEST_DIR=$(dirname "$0")/..
|
||||
TENV_ROOT="${TENV_ROOT:-$(pwd)/${TEST_DIR}/tenv-root}"
|
||||
PID_FILE="$TENV_ROOT/running_test.pid"
|
||||
SYSROOT="${SYSROOT:-$(pwd)/${TEST_DIR}/sysroot}"
|
||||
PID_FILE="$SYSROOT/running_test.pid"
|
||||
|
||||
if [ -f "$PID_FILE" ] ; then
|
||||
target=$(cat "$PID_FILE")
|
||||
@@ -22,6 +22,7 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
source "$TEST_DIR/test.env"
|
||||
# shellcheck disable=SC1091
|
||||
. "$TEST_DIR/test.env"
|
||||
|
||||
"$(dirname "$0")"/exec.sh "$target" "$cmd" "$@"
|
||||
Reference in new issue
Block a user