gen-tests
raw| 1 | #!/bin/sh |
| 2 | testdir=t |
| 3 | template=OBJ-TEST.pl |
| 4 | kinds=`cd $testdir >&/dev/null ; ls -1 [a-z]*.pl | sed -e 's/\.pl//g'` |
| 5 | echo "These are the kinds: $kinds" |
| 6 | for obj in box simple list html ; do |
| 7 | for kind in $kinds ; do |
| 8 | testfile=t/$obj-$kind.t |
| 9 | if [[ -f $testfile ]]; then |
| 10 | rm -f $testfile |
| 11 | fi |
| 12 | ( set -x ; ln -s $template $testfile ) |
| 13 | done |
| 14 | done |