| 1 : |
anton
|
1.1
|
#! /usr/local/bin/bash |
| 2 : |
|
|
#test dist on all MACHINES given in MACHINES |
| 3 : |
|
|
#usage: MACHINES="..." testall dirs/gforth-version.tar.gz |
| 4 : |
anton
|
1.3
|
test "x$MACHINES" != x || MACHINES="pcs d0 mips calis a5 w4.infosys.tuwien.ac.at hpws03.infosys.tuwien.ac.at aertl@fpr.zserv.tuwien.ac.at samhain.unix.cslab.tuwien.ac.at" |
| 5 : |
anton
|
1.1
|
for i in $MACHINES |
| 6 : |
|
|
do |
| 7 : |
|
|
( ssh $i "test -d xxxgforthtest||mkdir xxxgforthtest; cd xxxgforthtest; test -d $i||mkdir $i; rm -rf $i/*"; \ |
| 8 : |
|
|
scp -pq $1 testdist $i:xxxgforthtest/$i; \ |
| 9 : |
|
|
ssh $i "cd xxxgforthtest/$i; ./testdist `basename $1`" >$i 2>&1; \ |
| 10 : |
|
|
echo "$i done" ) & |
| 11 : |
|
|
done |
| 12 : |
|
|
wait |
| 13 : |
|
|
echo all done |