diff options
Diffstat (limited to 'bin/tests_okify.sh')
| -rwxr-xr-x | bin/tests_okify.sh | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/bin/tests_okify.sh b/bin/tests_okify.sh new file mode 100755 index 0000000..b46c43d --- /dev/null +++ b/bin/tests_okify.sh @@ -0,0 +1,40 @@ +#!/bin/bash +source /eng/ssb/auto/astroconda/include/midnight_special.sh +source /eng/ssb/auto/astroconda/include/pre-common.sh + +if [ "$groupdir" = "" ] +then + groupdir=/eng/ssb +else + echo groupdir is: + echo $groupdir +fi + + +# find our host name because it is used in the name of the okify file +h=`hostname -s` +echo $h + +# where the okify files are +cd "$groupdir/tests/pdk_updates" + +ls -l + +if [[ ! -f $h.ok ]]; then + echo no $h.ok + exit 0 +fi + +# not processing directly from the active file +rm -f $h.ok.process +mv $h.ok $h.ok.process + +echo START + +pdk ok -w $h.ok.process +status=$? + +echo END + +exit $status + |
