alaffin | 802d3e3 | 2000-08-23 20:04:23 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | cd `dirname $0` | ||||
plars | efd320c | 2001-09-05 20:45:14 +0000 | [diff] [blame] | 4 | export LTPROOT=${PWD} |
plars | 89a10bf | 2001-09-06 13:38:59 +0000 | [diff] [blame] | 5 | export TMP="/tmp/runalltests-$$" |
alaffin | 802d3e3 | 2000-08-23 20:04:23 +0000 | [diff] [blame] | 6 | |
alaffin | 879684a | 2000-09-20 18:41:17 +0000 | [diff] [blame] | 7 | mkdir ${TMP} |
8 | cd ${TMP} | ||||
alaffin | 802d3e3 | 2000-08-23 20:04:23 +0000 | [diff] [blame] | 9 | |
plars | 1a4c202 | 2001-09-06 15:04:36 +0000 | [diff] [blame] | 10 | export PATH="${PATH}:${LTPROOT}/testcases/bin" |
alaffin | 802d3e3 | 2000-08-23 20:04:23 +0000 | [diff] [blame] | 11 | |
robbiew | 8993321 | 2002-06-13 05:30:20 +0000 | [diff] [blame] | 12 | cat ${LTPROOT}/runtest/syscalls ${LTPROOT}/runtest/fs ${LTPROOT}/runtest/dio ${LTPROOT}/runtest/mm ${LTPROOT}/runtest/commands ${LTPROOT}/runtest/ipc ${LTPROOT}/runtest/sched ${LTPROOT}/runtest/float > ${TMP}/alltests |
alaffin | 879684a | 2000-09-20 18:41:17 +0000 | [diff] [blame] | 13 | |
nstraz | 731655a | 2002-06-21 20:01:59 +0000 | [diff] [blame^] | 14 | # The fsx-linux tests use the SCRATCHDEV environment variable as a location |
15 | # that can be reformatted and run on. Set SCRATCHDEV if you want to run | ||||
16 | # these tests. As a safeguard, this is disabled. | ||||
17 | unset SCRATCHDEV | ||||
18 | if [ -n "$SCRATCHDEV" ]; then | ||||
19 | cat ${LTPROOT}/runtest/fsx >> ${TMP}/alltests | ||||
20 | fi | ||||
robbiew | 9612ae0 | 2001-12-19 17:39:55 +0000 | [diff] [blame] | 21 | |
robbiew | 03cbf73 | 2001-10-12 21:06:50 +0000 | [diff] [blame] | 22 | ${LTPROOT}/ver_linux |
23 | |||||
alaffin | 879684a | 2000-09-20 18:41:17 +0000 | [diff] [blame] | 24 | ${LTPROOT}/pan/pan -e -S -a $$ -n $$ -f ${TMP}/alltests |
alaffin | 802d3e3 | 2000-08-23 20:04:23 +0000 | [diff] [blame] | 25 | |
alaffin | 802d3e3 | 2000-08-23 20:04:23 +0000 | [diff] [blame] | 26 | if [ $? -eq "0" ]; then |
alaffin | 879684a | 2000-09-20 18:41:17 +0000 | [diff] [blame] | 27 | echo pan reported PASS |
alaffin | 802d3e3 | 2000-08-23 20:04:23 +0000 | [diff] [blame] | 28 | else |
alaffin | 879684a | 2000-09-20 18:41:17 +0000 | [diff] [blame] | 29 | echo pan reported FAIL |
alaffin | 802d3e3 | 2000-08-23 20:04:23 +0000 | [diff] [blame] | 30 | fi |
alaffin | ad4c5fa | 2000-08-23 21:09:27 +0000 | [diff] [blame] | 31 | |
alaffin | 879684a | 2000-09-20 18:41:17 +0000 | [diff] [blame] | 32 | rm -rf ${TMP} |