From 6e014ca5ce263e96549236b5bf4f2379467b9e2b Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 27 Sep 2021 13:13:17 +0300 Subject: setting up git on old project --- test/test.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/test.sh (limited to 'test/test.sh') diff --git a/test/test.sh b/test/test.sh new file mode 100644 index 0000000..62d6edf --- /dev/null +++ b/test/test.sh @@ -0,0 +1,9 @@ +#!/bin/sh +TEST_DIR=. +JID=$(echo $@ | sed 's/ /_/g') + +touch "$TEST_DIR/logs/log[$JID]" +sh ./core_script.sh $@ | tee "$TEST_DIR/logs/log[$JID]" +tail ./times/normal/* -q -n 1 | cut -f 2 -d " " | awk 'BEGIN{printf "a=c(";cnt=1}{if(cnt!=1){printf ","}printf "%s",$1; ++cnt}END{print ")"}' > $TEST_DIR/Rstuff/[$JID].R +echo "plot(1:length(a),col='red',type='l');points(1:length(a),col='red');points(a/a[1],col='green');lines(a/a[1],col='green');" >> $TEST_DIR/Rstuff/[$JID].R + -- cgit v1.2.3