1#!/bin/sh 2 3# Run a partial test suite for a quick check of most of the system 4# functionnality. 5 6RUN="/usr/tests/minix-posix/run" 7 8# Tests to run: 9TESTS=" 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 \ 10 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 \ 11 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 \ 12 61 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 \ 13 sh1 interp mfs isofs " 14 15if [ ! -f ${RUN} ] 16then 17 echo "Test runner script not found: ${RUN}\n" 18 exit 1; 19fi 20 21cat <<EOT 22This tool will run the most common tests. This will skip some very lengthy 23ones, as well as some which are expected to generate some warnings. 24 25To run the full test suite, you can execute the following: 26 27# ./run 28 29Be advised that the full test suite might take up to several hours to complete 30depending on your hardware. 31 32The following tests will be run: 33${TESTS} 34 35EOT 36 37echo -n "Do you want to start [Y/n]? " 38read ok 39 40if [ "${ok}" = "" -o "${ok}" = "y" -o "${ok}" = "Y" ]; then 41 sh ${RUN} -t "${TESTS}" 42fi 43