summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-benchmarks/ltp/files/runltp-path.patch')
-rw-r--r--app-benchmarks/ltp/files/runltp-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-benchmarks/ltp/files/runltp-path.patch b/app-benchmarks/ltp/files/runltp-path.patch
new file mode 100644
index 000000000000..a96e4431012d
--- /dev/null
+++ b/app-benchmarks/ltp/files/runltp-path.patch
@@ -0,0 +1,11 @@
+--- runltp.orig 2004-11-06 11:40:02.729295792 +0100
++++ runltp 2004-11-06 11:40:25.758808272 +0100
+@@ -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"