From 30f7d5f1015eb1c6d6e90f3a33c4d67228d7e741 Mon Sep 17 00:00:00 2001 From: Laurent MAZET Date: Mon, 6 Oct 2025 19:37:22 +0200 Subject: [PATCH] update scripts --- sync.sh | 9 +++++++-- test.sh | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sync.sh b/sync.sh index 7c0e17a..75300a0 100755 --- a/sync.sh +++ b/sync.sh @@ -1,8 +1,13 @@ #!/bin/sh +HOST=mazet@192.168.1.1 + # ssh-keygen -# cat ~/.ssh/id_rsa.pub | ssh mazet@192.168.1.1 "cat >> ~/.ssh/authorized_keys" +# cat ~/.ssh/id_rsa.pub | ssh $HOST "cat >> ~/.ssh/authorized_keys" + +date $(ssh $HOST date +%m%d%H%M%Y) + for f in cyclictest hackbench '*.exe' '*.sh'; do -scp mazet@192.168.1.1:benchmarks/$f . + scp $HOST:benchmarks/$f . done rm load.exe diff --git a/test.sh b/test.sh index e4bd24e..eca0eb2 100755 --- a/test.sh +++ b/test.sh @@ -6,6 +6,7 @@ function run() { load=$1 for exe in *.exe; do test=${exe/.exe/} + echo -e "\033[0;1mTest $test\033[0;0m" ./getinfo.sh | tee $test-$load.log pid=-1 { ./$exe -d 1 -n 10000 -s -o $test-$load.dat | tee -a $test-$load.log; \ -- 2.30.2