blob: afbfd6efadeb98824549dc36346b537f2e2d10c8 [file] [log] [blame]
robbiew87b50552003-05-07 16:01:02 +00001#!/bin/sh
2# This will only run the quickhit tests.
3cd `dirname $0`
4LTPROOT=${PWD}
robbiewa61a7a32003-05-12 22:14:10 +00005echo $LTPROOT | grep testscripts > /dev/null 2>&1
6if [ $? -eq 0 ]; then
7 cd ..
8 export LTPROOT=${PWD}
9fi
10
robbiew87b50552003-05-07 16:01:02 +000011
12mkdir /tmp/runpan-$$
13cd /tmp/runpan-$$
14
15export PATH="${PATH}:${LTPROOT}/doio:${LTPROOT}/testcases/bin"
16
17${LTPROOT}/pan/pan -e $@ -a ltp -n ltp -f ${LTPROOT}/runtest/quickhit
18
19if [ $? -eq "0" ]; then
20 echo pan reported PASS
21else
22 echo pan reported FAIL
23fi