~kris/9p

krisyotam.net

ref: f269e2c7d5c244d42779b420cd5e3683ef2d58ca krisyotam.net/bin/aux/runtsts.rc -rwxr-xr-x 262 bytes
f269e2c7 — Kris Yotam merge: bring emergency backup commit from plan9.krisyotam.com a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/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
    }
}