Drop main() prototype. Syncs with NetBSD-8
[minix.git] / minix / tests / check-install
blob9e1ae59df5c43b982bd341c0ca5ccf417f166004
1 #!/bin/sh
3 # Run a partial test suite for a quick check of most of the system
4 # functionnality.
6 RUN="/usr/tests/minix-posix/run"
8 # Tests to run:
9 TESTS=" 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 "
15 if [ ! -f ${RUN} ]
16 then
17 echo "Test runner script not found: ${RUN}\n"
18 exit 1;
21 cat <<EOT
22 This tool will run the most common tests. This will skip some very lengthy
23 ones, as well as some which are expected to generate some warnings.
25 To run the full test suite, you can execute the following:
27 # ./run
29 Be advised that the full test suite might take up to several hours to complete
30 depending on your hardware.
32 The following tests will be run:
33 ${TESTS}
35 EOT
37 echo -n "Do you want to start [Y/n]? "
38 read ok
40 if [ "${ok}" = "" -o "${ok}" = "y" -o "${ok}" = "Y" ]; then
41 sh ${RUN} -t "${TESTS}"