import repository from arizona
[raven.git] / tools / testnodes / test_base.sh
1 #! /bin/bash
2
3 chmod a+x $TEST
4 scp -q -o "StrictHostKeyChecking no" $TEST $SLICENAME@$NODE:/home/$SLICENAME
5 if [ $? == 0 ]; then
6    ssh -q -o "StrictHostKeyChecking no" -o "PasswordAuthentication no" -n $SLICENAME@$NODE "./$TEST" >> $RESULTFILE
7 else
8    echo "   $NODE: failed to copy"
9    echo "status=unreachable,node=$NODE" >> $RESULTFILE
10 fi