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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 149 - (hide annotations) (download)
Tue Mar 10 15:27:06 2009 UTC (13 years, 6 months ago) by templon
File size: 565 byte(s)
trying to get it working

1 templon 78 #!/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 templon 106 cern.16k deny1.ok deny1.2acbrs vomap.mung emptyatt"
9 templon 78
10     for t in $ip_tests
11     do
12     echo running test $t
13 templon 149 @TARGPREFIX@/@SCRIPTSUFFIX@/lcg-info-dynamic-scheduler \
14 templon 78 -c $t.tst.conf > tst.out 2>tst.err.tmp
15     diff -q $t.tst.stdout tst.out
16 templon 101 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 templon 78 diff -q $t.tst.stderr tst.err
18     done

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