aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ltp/ltp-20070228/runltp-path.patch
blob: d117b3c24e85caf0aa89a27f882c82bee54939e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: runltp
===================================================================
--- ltp-full-20060412.orig/runltp       2005-03-12 03:26:14.000000000 +0800
+++ ltp-full-20060412/runltp    2006-04-26 16:42:13.000000000 +0800
@@ -43,7 +43,7 @@
         echo "FATAL: unable to change directory to $(dirname $0)"
         exit 1
     }
-    export LTPROOT=${PWD}
+    export LTPROOT=/usr/libexec/ltp
     export TMPBASE="/tmp"
     export TMP="${TMPBASE}/ltp-$$"
     export PATH="${PATH}:${LTPROOT}/testcases/bin"
--- ltp-full-20060412.orig/runltp      2007-02-28 20:40:17.000000000 -0800
+++ ltp-full-20060412/runltp   2007-04-01 11:38:38.000000000 -0700
@@ -285,7 +285,7 @@
                      ${LTPROOT}/runtest/sched ${LTPROOT}/runtest/math \
                      ${LTPROOT}/runtest/nptl ${LTPROOT}/runtest/pty
         do
-            [ -a "$SCENFILES" ] || \
+            [ -e "$SCENFILES" ] || \
             {
                 echo "FATAL: missing scenario file $SCENFILES"
                 exit 1