• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2# This will only run the quickhit tests.
3cd `dirname $0`
4LTPROOT=${PWD}
5echo $LTPROOT | grep testscripts > /dev/null 2>&1
6if [ $? -eq 0 ]; then
7 cd ..
8 export LTPROOT=${PWD}
9fi
10
11
12mkdir /tmp/runpan-$$
13cd /tmp/runpan-$$
14
15export PATH="${PATH}:${LTPROOT}/doio:${LTPROOT}/testcases/bin"
16
17${LTPROOT}/bin/ltp-pan -e $@ -a ltp -n ltp -f ${LTPROOT}/runtest/quickhit
18
19if [ $? -eq "0" ]; then
20  echo ltp-pan reported PASS
21else
22  echo ltp-pan reported FAIL
23fi
24