Debian Codegraph @

testing/guestbin/swan-run

raw
1 #!/bin/sh
2
3 TESTNAME=$(cat /tmp/swan.current)
4
5 if [ -f /testing/pluto/${TESTNAME}/testparams.sh ]; then
6 . /testing/pluto/${TESTNAME}/testparams.sh
7 else
8 echo "Unknown or broken test case /testing/pluto/${TESTNAME}"
9 exit 1
10 fi
11
12 if [ -f /testing/pluto/${TESTNAME}/$(hostname)run.sh ]; then
13 . /testing/pluto/${TESTNAME}/$(hostname)run.sh
14 echo "$(hostname) completed ${TESTNAME}"
15 else
16 echo "broken test - missing /testing/pluto/${TESTNAME}/$(hostname)run.sh"
17 exit 1
18 fi