diff --git a/tests/e2e-kernel-test.sh b/tests/e2e-kernel-test.sh index 4c31ef692118..46d0f47be9ec 100755 --- a/tests/e2e-kernel-test.sh +++ b/tests/e2e-kernel-test.sh @@ -62,7 +62,7 @@ set -e make -j$(nproc) all set +e if [[ ! -x ./dist/tracee ]]; then - error_exit "could not find tracee executables" + error_exit "could not find tracee executable" fi # if any test has failed @@ -82,8 +82,8 @@ for TEST in $TESTS; do --cache cache-type=mem \ --cache mem-cache-size=512 \ --output json \ - --scope container=new 2>&1 | - tee $SCRIPT_TMP_DIR/build-$$ 2>&1 & + --scope container=new 2>&1 \ + | tee "$SCRIPT_TMP_DIR/build-$$" & # wait tracee to be started (30 sec most) times=0 diff --git a/tests/e2e-net-test.sh b/tests/e2e-net-test.sh index 848b6d97f80b..629fc0c65cdc 100755 --- a/tests/e2e-net-test.sh +++ b/tests/e2e-net-test.sh @@ -72,7 +72,7 @@ make -j$(nproc) all make e2e-net-signatures set +e if [[ ! -x ./dist/tracee ]]; then - error_exit "could not find tracee executables" + error_exit "could not find tracee executable" fi # if any test has failed @@ -93,8 +93,8 @@ for TEST in $TESTS; do --cache mem-cache-size=512 \ --output json \ --scope comm=ping,nc,nslookup,isc-net-0000,isc-worker0000,curl \ - --signatures-dir ./dist/e2e-net-signatures/ 2>&1 | - tee $SCRIPT_TMP_DIR/build-$$ 2>&1 & + --signatures-dir ./dist/e2e-net-signatures/ 2>&1 \ + | tee "$SCRIPT_TMP_DIR/build-$$" & # wait tracee to be started (30 sec most) times=0