blob: 98b618f845b50f1c8fc8301d31929d0ec57e7bbb [file] [log] [blame]
alaffin802d3e32000-08-23 20:04:23 +00001#!/bin/sh
2
3cd `dirname $0`
plarsefd320c2001-09-05 20:45:14 +00004export LTPROOT=${PWD}
plars89a10bf2001-09-06 13:38:59 +00005export TMP="/tmp/runalltests-$$"
alaffin802d3e32000-08-23 20:04:23 +00006
alaffin879684a2000-09-20 18:41:17 +00007mkdir ${TMP}
8cd ${TMP}
alaffin802d3e32000-08-23 20:04:23 +00009
plars1a4c2022001-09-06 15:04:36 +000010export PATH="${PATH}:${LTPROOT}/testcases/bin"
alaffin802d3e32000-08-23 20:04:23 +000011
robbiewe43ab8c2001-12-06 20:54:27 +000012cat ${LTPROOT}/runtest/syscalls ${LTPROOT}/runtest/fs ${LTPROOT}/runtest/mm ${LTPROOT}/runtest/commands ${LTPROOT}/runtest/ipc ${LTPROOT}/runtest/sched ${LTPROOT}/runtest/float > ${TMP}/alltests
alaffin879684a2000-09-20 18:41:17 +000013
robbiew9612ae02001-12-19 17:39:55 +000014# 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
robbiew03cbf732001-10-12 21:06:50 +000021${LTPROOT}/ver_linux
22
alaffin879684a2000-09-20 18:41:17 +000023${LTPROOT}/pan/pan -e -S -a $$ -n $$ -f ${TMP}/alltests
alaffin802d3e32000-08-23 20:04:23 +000024
alaffin802d3e32000-08-23 20:04:23 +000025if [ $? -eq "0" ]; then
alaffin879684a2000-09-20 18:41:17 +000026 echo pan reported PASS
alaffin802d3e32000-08-23 20:04:23 +000027else
alaffin879684a2000-09-20 18:41:17 +000028 echo pan reported FAIL
alaffin802d3e32000-08-23 20:04:23 +000029fi
alaffinad4c5fa2000-08-23 21:09:27 +000030
alaffin879684a2000-09-20 18:41:17 +000031rm -rf ${TMP}