[oe-issues] [Bug 2078] New: wrong line in runltp
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Tue Apr 3 11:06:11 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=2078
Summary: wrong line in runltp
Product: Openembedded
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Distributions
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: anvoebugz at gmail.com
QAContact: tinderbox-oe at gmx.net
Machine: omap5912osk
Distro: celinux-test
DISTRO_EXTRA_RDEPENDS = "ltp"
Build command: bitbake bootstrap-image
Running ltp causes the following messages:
$ sh /usr/libexec/ltp/runltp
head: /usr/libexec/ltp/ChangeLog: No such file or directory
INFO: no command files were provided, using default,
system calls, memory management, IPC, scheduler
direct io, file system, math and pty tests will
now be executed
sh: /usr/libexec/ltp/runtest/syscalls: unknown operand
FATAL: missing scenario file /usr/libexec/ltp/runtest/syscalls
BusyBox v1.2.1 waits two parameters for '-a' option for test program.
[ -a "$SCENFILES" ] || \
{
echo "FATAL: missing scenario file $SCENFILES"
exit 1
}
The patch that resolves the problem:
diff -urN org.openembedded.dev/packages/ltp/ltp-20070228/runltp-path.patch
org.openembedded.dev.new/packages/ltp/ltp-20070228/runltp-path.patch
--- org.openembedded.dev/packages/ltp/ltp-20070228/runltp-path.patch
2007-03-29 16:34:40.000000000 -0700
+++ org.openembedded.dev.new/packages/ltp/ltp-20070228/runltp-path.patch
2007-04-01 11:43:47.000000000 -0700
@@ -11,3 +11,14 @@
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
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Openembedded-issues
mailing list