![]() ![]() | ![]() |
bugfix (loadfilename# must be set before process-args) minor changes
1: #! /usr/local/bin/bash 2: #test dist on all MACHINES given in MACHINES 3: #usage: MACHINES="..." testall dirs/gforth-version.tar.gz 4: test "x$MACHINES" != x || MACHINES="jupiter pcs d0 mips aertl@fpr.zserv.tuwien.ac.at aertl@fbma.tuwien.ac.at aertl@stat.zserv.tuwien.ac.at a5 w4.infosys.tuwien.ac.at samhain.ifs.tuwien.ac.at a9" 5: #taken out: hpws03.infosys.tuwien.ac.at calis 6: for i in $MACHINES 7: do 8: ( ssh $i "test -d xxxgforthtest||mkdir xxxgforthtest; cd xxxgforthtest; test -d $i||mkdir $i; rm -rf $i/*"; \ 9: scp -pq $1 testdist $i:xxxgforthtest/$i; \ 10: ssh $i "cd xxxgforthtest/$i; ./testdist `basename $1`" >$i 2>&1; \ 11: echo "$i done" `tail -1 $i`) & 12: done 13: wait 14: echo all done