#! /bin/sh
script=$1
progs=`basename $script .run`.dat
shift
cat > $script <<EOF
./test-harness $TEST_HARNESS_OPTS $progs $@
EOF
chmod +x $script