From: Lionel Sambuc Date: Wed, 13 Aug 2014 11:21:19 +0000 (+0200) Subject: /usr/tests/minix-posix/check-install X-Git-Tag: v3.3.0~72 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=d7e5edb2c72c5dfff71b925b324624d027fcee86;p=minix.git /usr/tests/minix-posix/check-install This script runs a subset of all the available test. This is aimed at first time users which might be surprised by the warnings and time the full test suite takes. This runs all the tests which in case of success only print "ok" and don't take too much time to run, independently of the network connectivity. Change-Id: Id54b7656a98f9ec81880f91cb63ca888a175f20f --- diff --git a/distrib/sets/lists/minix/mi b/distrib/sets/lists/minix/mi index a7eb0fc0a..d79bc793b 100644 --- a/distrib/sets/lists/minix/mi +++ b/distrib/sets/lists/minix/mi @@ -6023,6 +6023,7 @@ ./usr/tests/minix-posix/blocktest/support.sh minix-sys ./usr/tests/minix-posix/blocktest/system.conf minix-sys ./usr/tests/minix-posix/blocktest/test.sh minix-sys +./usr/tests/minix-posix/check-install minix-sys ./usr/tests/minix-posix/ddekit minix-sys ./usr/tests/minix-posix/ddekit/ddekittest minix-sys ./usr/tests/minix-posix/ddekit/ddekittest_driver minix-sys diff --git a/minix/tests/Makefile b/minix/tests/Makefile index 2bff05c57..b436d28ac 100644 --- a/minix/tests/Makefile +++ b/minix/tests/Makefile @@ -77,7 +77,8 @@ PROGS+= test${t} PROGS+= t10a t11a t11b t40a t40b t40c t40d t40e t40f t40g t60a t60b \ t67a t67b t68a t68b tvnd -SCRIPTS+= run testinterp.sh testsh1.sh testsh2.sh testmfs.sh testisofs.sh testvnd.sh testkyua.sh +SCRIPTS+= run check-install testinterp.sh testsh1.sh testsh2.sh testmfs.sh \ + testisofs.sh testvnd.sh testkyua.sh # test57loop.S is not linked into the .bcl file. # This way, we can link it in when linking the final binary diff --git a/minix/tests/check-install b/minix/tests/check-install new file mode 100644 index 000000000..9e1ae59df --- /dev/null +++ b/minix/tests/check-install @@ -0,0 +1,42 @@ +#!/bin/sh + +# Run a partial test suite for a quick check of most of the system +# functionnality. + +RUN="/usr/tests/minix-posix/run" + +# Tests to run: +TESTS=" 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 \ + 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 \ + 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 \ + 61 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 \ + sh1 interp mfs isofs " + +if [ ! -f ${RUN} ] +then + echo "Test runner script not found: ${RUN}\n" + exit 1; +fi + +cat <