ref: 2a20cb62a8d59f2ae7c0901b1196c4682823cda8
parent: 0b08817afecabd2ce417bf5828f784c4201e6a01
author: uriel <[email protected]>
date: Fri Aug 7 23:17:28 EDT 2009
Add first draft of unit testing runner.
--- /dev/null
+++ b/bin/aux/runtsts.rc
@@ -1,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
+ }
+}