#!/bin/bash # $HeadURL$ $LastChangedRevision$ PROGNAME=`basename $0` SANDPIT=`pwd` . $(ade-config ade_share_prefix)/include/adetestsupport.sh echo "refreshing localhost host key ..." ssh-keygen -q -R localhost > /dev/null 2>&1 timeout 5 setsid ssh -n localhost pwd > /dev/null 2>&1 echo "creating config file ..." mkdir $SANDPIT/{etc,tmp} echo "localhost:AllHosts" > $SANDPIT/etc/small.conf echo "running rocon ..." rocon -F $SANDPIT/etc/small.conf -c 'echo OK' AllHosts echo "all done"