diff --git a/packaging/perftest/unipi/plot.sh b/packaging/perftest/unipi/plot.sh index fd9821a..a2ceb78 100755 --- a/packaging/perftest/unipi/plot.sh +++ b/packaging/perftest/unipi/plot.sh @@ -30,7 +30,7 @@ get_bin_hash () { N=0 -while read UUID; do +while read -r UUID; do BIN_SHA256=$(get_bin_hash "$UUID") CSV="${PERFJOB_DIR}/${BIN_SHA256}/siege_test01.csv" diff --git a/packaging/perftest/unipi/run-test-remotely.sh b/packaging/perftest/unipi/run-test-remotely.sh index 8fb9d89..a0edff5 100755 --- a/packaging/perftest/unipi/run-test-remotely.sh +++ b/packaging/perftest/unipi/run-test-remotely.sh @@ -40,11 +40,9 @@ scp -r "$PERFSCRIPT_DIR"/* "$SERVER_W_DIR" #> goto problem: backgrounding a task make it not fail this script :/ info initializing context for unikernel $SSH "cd $SERVER_DIR; ./init.sh" & -INIT_PID=$! info running unikernel in background $SSH "cd $SERVER_DIR; ./run-unikernel.sh" & -UNIKERNEL_PID=$! info sleeping a bit before test sleep 5 @@ -54,11 +52,9 @@ $SSH "cd $SERVER_DIR; ./run-test.sh" info killing unikernel $SSH "cd $SERVER_DIR; kill "'$(cat run-unikernel.sh.PID)' || echo "couldn't kill: unikernel not running" -#kill "$UNIKERNEL_PID" info killing init-daemon $SSH "cd $SERVER_DIR; kill "'$(cat init.sh.PID)' || echo "couldn't kill: git daemon not running" -#kill "$INIT_PID" info copying results to "$PERFDATA_DIR" if [ ! -e "$PERFDATA_DIR" ]; then