diff options
author | adam <adam@volconst.com> | 2021-09-27 13:13:17 +0300 |
---|---|---|
committer | adam <adam@volconst.com> | 2021-09-27 13:13:17 +0300 |
commit | 6e014ca5ce263e96549236b5bf4f2379467b9e2b (patch) | |
tree | 56dfb669fdca4118cddedc265dd2ea1768c8aaa7 /test/test.sh | |
download | dethread-6e014ca5ce263e96549236b5bf4f2379467b9e2b.tar.gz |
setting up git on old project
Diffstat (limited to 'test/test.sh')
-rw-r--r-- | test/test.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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 + |