summaryrefslogtreecommitdiffstats
path: root/recipes/ltp/ltp-20090131/runltp-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/ltp/ltp-20090131/runltp-path.patch')
-rw-r--r--recipes/ltp/ltp-20090131/runltp-path.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/ltp/ltp-20090131/runltp-path.patch b/recipes/ltp/ltp-20090131/runltp-path.patch
new file mode 100644
index 0000000000..607e019e61
--- /dev/null
+++ b/recipes/ltp/ltp-20090131/runltp-path.patch
@@ -0,0 +1,17 @@
+---
+ runltp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: ltp-full-20090131/runltp
+===================================================================
+--- ltp-full-20090131.orig/runltp
++++ ltp-full-20090131/runltp
+@@ -74,7 +74,7 @@ setup()
+ echo "FATAL: unable to change directory to $(dirname $0)"
+ exit 1
+ }
+- export LTPROOT=${PWD}
++ export LTPROOT=/usr/libexec/ltp
+ export TMPBASE="/tmp"
+ export PATH="${PATH}:${LTPROOT}/testcases/bin"
+