Add first draft of unit testing runner.

This commit is contained in:
uriel 2009-08-08 03:17:28 +02:00
parent 43bed805bd
commit 5a6063590b

16
bin/aux/runtsts.rc Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env rc
tstdom='http://test.cat-v.org'
cd sites/tst.cat-v.org
tstfiles=`{du -a |awk '/\.tst$/ { print $2 }; {} ' | sed 's/^\.//; s/\.tst$//'}
for(f in $tstfiles) {
ifs='
' { tsts=`{cat ./$f.tst} }
for(t in $tsts) {
echo tst $t
}
}