1#!/bin/sh 2 3export SH=sh 4 5TESTS=$(find -Es . -regex ".*\.[0-9]+") 6 7# Header 8printf '# %-25s\t%-15s\t%-40s\t%s\n' "Testcase" "Type" "Options" "Args" > sh.runlist 9 10 11# Tests 12for i in ${TESTS} ; do 13 printf "%-27s\tuserland\tnobuild,interpreter=%s,rc=%d\n" ${i##./} ${SH} ${i##*.} >> sh.runlist 14done 15