[Xenomai] Porting xenomai 2.6.3 and ipipe to 3.12 kernel

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Wed Apr 2 15:41:34 CEST 2014


On Wed, Apr 02, 2014 at 09:40:18AM -0400, Lennart Sorensen wrote:
> On Wed, Apr 02, 2014 at 03:26:34PM +0200, Gilles Chanteperdrix wrote:
> > On 04/02/2014 03:24 PM, Lennart Sorensen wrote:
> > >On Wed, Apr 02, 2014 at 09:11:59AM +0200, Gilles Chanteperdrix wrote:
> > >>On 04/02/2014 04:35 AM, Lennart Sorensen wrote:
> > >>>All I changed was the -l option, which I changed to the location I
> > >>>installed ltp to.
> > >>>
> > >>>Maybe xeno-regression-test is broken.  Maybe it assumes /bin/sh is bash
> > >>>or something.
> > >>>
> > >>I am using this command with ash (busybox shell) without any problem.
> > >>Parsing these quotes is done by the interactive shell you are running,
> > >>not xeno-regression-test itself.
> > >
> > >This is the line that is causing issues as far as I can tell.
> > >
> > >check_alive /usr/lib/xenomai/testsuite/latency ${1+"$@"}
> > >
> > >So it is passing all the original arguments to latency for some reason,
> > >and latency has no idea what -m is supposed to mean.
> > >
> > >On Debian /bin/sh is dash, which is a pure posix shell.  If it isn't
> > >posix, it isn't valid.  checkbashisms doesn't seem to think there is
> > >anything wrong with that line though.
> > >
> > >As far as this shows I think the quotes were right:
> > 
> > xeno-regression-test does not take into account your -l option,
> > since it is using dohell 900 as load, instead of the line you
> > specified. Are you sure you did not mix-up -1 and -l ?
> 
> I just checked.  argv2 = xeno-regresstion-test, not -l.  WTF?
> 
> I am investigating how that is even remotely possible.

Here is the argv array it is getting:

argv=[/usr/lib/xenomai/testsuite/xeno-test-run][/usr/bin/xeno-regression-test][xeno-regression-test][-l][/usr/lib/xenomai/testsuite/dohell -s 10.200.19.25 -m /mnt -l /mnt]

No wonder it isn't working.

-- 
Len Sorensen




More information about the Xenomai mailing list