version 1.1, 1998/12/21 22:52:30
|
version 1.5, 2000/07/20 14:00:00
|
Line 1
|
Line 1
|
#! /usr/local/bin/bash |
#! /usr/local/bin/bash |
#test dist on all MACHINES given in MACHINES |
#test dist on all MACHINES given in MACHINES |
#usage: MACHINES="..." testall dirs/gforth-version.tar.gz |
#usage: MACHINES="..." testall dirs/gforth-version.tar.gz |
test "x$MACHINES" != x || MACHINES="jupiter pcs d0 mips calis a5 w3.infosys.tuwien.ac.at hpws01.infosys.tuwien.ac.at aertl@fpr.zserv.tuwien.ac.at samhain.unix.cslab.tuwien.ac.at" |
test "x$MACHINES" != x || MACHINES="jupiter pcs d0 mips aertl@fpr.zserv.tuwien.ac.at calis a5 a8 w4.infosys.tuwien.ac.at samhain.ifs.tuwien.ac.at" |
|
#taken out: hpws03.infosys.tuwien.ac.at |
for i in $MACHINES |
for i in $MACHINES |
do |
do |
( ssh $i "test -d xxxgforthtest||mkdir xxxgforthtest; cd xxxgforthtest; test -d $i||mkdir $i; rm -rf $i/*"; \ |
( ssh $i "test -d xxxgforthtest||mkdir xxxgforthtest; cd xxxgforthtest; test -d $i||mkdir $i; rm -rf $i/*"; \ |
scp -pq $1 testdist $i:xxxgforthtest/$i; \ |
scp -pq $1 testdist $i:xxxgforthtest/$i; \ |
ssh $i "cd xxxgforthtest/$i; ./testdist `basename $1`" >$i 2>&1; \ |
ssh $i "cd xxxgforthtest/$i; ./testdist `basename $1`" >$i 2>&1; \ |
echo "$i done" ) & |
echo "$i done" `tail -1 $i`) & |
done |
done |
wait |
wait |
echo all done |
echo all done |