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 | e43ab8c | 2001-12-06 20:54:27 +0000 | [diff] [blame] | 12 | cat ${LTPROOT}/runtest/syscalls ${LTPROOT}/runtest/fs ${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 | |
robbiew | 9612ae0 | 2001-12-19 17:39:55 +0000 | [diff] [blame] | 14 | # Uncomment below and define if execution of the fsx-linux tests is desired. |
15 | # Example: | ||||
16 | # SCRATCHDEV=/dev/hda | ||||
17 | |||||
18 | # Uncomment the next line if SCRATCHDEV defined | ||||
19 | #cat ${LTPROOT}/runtest/fsx >> ${TMP}/alltests | ||||
20 | |||||
robbiew | 03cbf73 | 2001-10-12 21:06:50 +0000 | [diff] [blame] | 21 | ${LTPROOT}/ver_linux |
22 | |||||
alaffin | 879684a | 2000-09-20 18:41:17 +0000 | [diff] [blame] | 23 | ${LTPROOT}/pan/pan -e -S -a $$ -n $$ -f ${TMP}/alltests |
alaffin | 802d3e3 | 2000-08-23 20:04:23 +0000 | [diff] [blame] | 24 | |
alaffin | 802d3e3 | 2000-08-23 20:04:23 +0000 | [diff] [blame] | 25 | if [ $? -eq "0" ]; then |
alaffin | 879684a | 2000-09-20 18:41:17 +0000 | [diff] [blame] | 26 | echo pan reported PASS |
alaffin | 802d3e3 | 2000-08-23 20:04:23 +0000 | [diff] [blame] | 27 | else |
alaffin | 879684a | 2000-09-20 18:41:17 +0000 | [diff] [blame] | 28 | echo pan reported FAIL |
alaffin | 802d3e3 | 2000-08-23 20:04:23 +0000 | [diff] [blame] | 29 | fi |
alaffin | ad4c5fa | 2000-08-23 21:09:27 +0000 | [diff] [blame] | 30 | |
alaffin | 879684a | 2000-09-20 18:41:17 +0000 | [diff] [blame] | 31 | rm -rf ${TMP} |