~kris/9p

krisyotam.net

ref: e60cf4fe0afb6a67a8806424c39080016d6da2e9 krisyotam.net/bin/aux/runtsts.rc -rwxr-xr-x 262 bytes
e60cf4fe — Kris Yotam chore: sync local state after restore (push updates, no pull) 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
    }
}