From bdb01be93b0b1a046ec8a3ab978a0c9ffb431389 Mon Sep 17 00:00:00 2001 From: rand00 Date: Tue, 3 Jan 2023 17:20:59 +0100 Subject: [PATCH] packaging/perftest/unipi/run-test-on-vm.sh: Fixed that ssh didn't run scripts from right dir --- packaging/perftest/unipi/run-test-on-vm.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/perftest/unipi/run-test-on-vm.sh b/packaging/perftest/unipi/run-test-on-vm.sh index e01d019..6b55123 100755 --- a/packaging/perftest/unipi/run-test-on-vm.sh +++ b/packaging/perftest/unipi/run-test-on-vm.sh @@ -41,17 +41,17 @@ scp "$PERFSCRIPT_DIR"/run-test.sh "$SERVER_W_DIR" scp "$PERFSCRIPT_DIR"/cleanup.sh "$SERVER_W_DIR" info initializing context for unikernel -"$SSH" ./init.sh +"$SSH" "$PERFSCRIPT_DIR"/init.sh info running unikernel in background -"$SSH" ./run-unikernel.sh & +"$SSH" "$PERFSCRIPT_DIR"/run-unikernel.sh & UNIKERNEL_PID=$! info sleeping a bit before test sleep 5 info running test -"$SSH" ./run-test.sh +"$SSH" "$PERFSCRIPT_DIR"/run-test.sh info killing unikernel kill "$UNIKERNEL_PID" @@ -60,7 +60,7 @@ info copying results to "$PERFDATA_DIR" scp "${SERVER_W_DIR}/results/*" "$PERFDATA_DIR" info running cleanup -"$SSH" ./cleanup.sh +"$SSH" "$PERFSCRIPT_DIR"/cleanup.sh info done