summaryrefslogtreecommitdiff
path: root/packages/ltp/ltp-20070228/runltp-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ltp/ltp-20070228/runltp-path.patch')
-rw-r--r--packages/ltp/ltp-20070228/runltp-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/ltp/ltp-20070228/runltp-path.patch b/packages/ltp/ltp-20070228/runltp-path.patch
index dfbbf353ec..d117b3c24e 100644
--- a/packages/ltp/ltp-20070228/runltp-path.patch
+++ b/packages/ltp/ltp-20070228/runltp-path.patch
@@ -11,3 +11,14 @@ Index: runltp
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