/[pdpsoft]/trunk/nl.nikhef.pdp.lrmsutils/test/test.sh.cin
ViewVC logotype

Contents of /trunk/nl.nikhef.pdp.lrmsutils/test/test.sh.cin

Parent Directory Parent Directory | Revision Log Revision Log


Revision 106 - (show annotations) (download)
Mon Mar 2 13:22:24 2009 UTC (13 years, 5 months ago) by templon
File size: 549 byte(s)
add empty attr test

1 #!/bin/sh
2
3 # test framework for lcg-info-dynamic-scheduler suite
4
5 unset PYTHONPATH
6
7 ip_tests="allok lrmerr1 lrmerr2 mauiwarn badfreeslots cern1.ok \
8 cern.16k deny1.ok deny1.2acbrs vomap.mung emptyatt"
9
10 for t in $ip_tests
11 do
12 echo running test $t
13 @SCRIPTDIR@/lcg-info-dynamic-scheduler \
14 -c $t.tst.conf > tst.out 2>tst.err.tmp
15 diff -q $t.tst.stdout tst.out
16 awk '{sub(/^20[0-9][0-9]-[0-9][0-9]-[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]/,"date time") ; print }' tst.err.tmp > tst.err
17 diff -q $t.tst.stderr tst.err
18 done

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28