public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: ltp-list@lists.sourceforge.net, risrajak@in.ibm.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [LTP] [TEST] : LTP Build failure on 2.6.24 kernel
Date: Mon, 28 Jan 2008 06:53:15 -0500	[thread overview]
Message-ID: <200801280653.16624.vapier@gentoo.org> (raw)
In-Reply-To: <1201508081.4029.4.camel@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]

On Monday 28 January 2008, Rishikesh K. Rajak wrote:
> Here i am getting failure on the x86_64 machine with new kernel.
>
> Here is the uname for that machine:
>
> rishi@:~/ltp-full-20071231# uname -a
> Linux rishi.in.ibm.com 2.6.24 #1 SMP PREEMPT Mon Jan 28 06:47:28 UTC
> 2008 x86_64 GNU/Linux

i'm guessing you're using ubuntu and thus dash is your /bin/sh ... shouldnt be 
a 2.6.24 issue

> make[4]: Entering directory
> `/root/ltp-full-20071231/testcases/network/tcp_cmds/ftp'
> ../../generate.sh
> ../../generate.sh: 60: arith: syntax error: "cnt=cnt-1"

sadly, this is becoming a FAQ.  ubuntu ships a broken /bin/sh (dash) and thus 
some LTP scripts fall apart.  i would prefer to not change the scripts as the 
message is simple in LTP: fix your shell, dont add hacks to LTP.  otherwise 
we slowly back ourselves into this corner with the shell scripts where we try 
to support every craptastic shell out there and we're afraid to make any 
changes because we dont know what crappy shell is going to drop a brick.  LTP 
scripts are written to be POSIX complaint and only POSIX complaint shells 
should be provided by /bin/sh.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

       reply	other threads:[~2008-01-28 11:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1201508081.4029.4.camel@localhost.localdomain>
2008-01-28 11:53 ` Mike Frysinger [this message]
2008-01-28 20:29   ` [LTP] [TEST] : LTP Build failure on 2.6.24 kernel Adrian Bunk
2008-01-28 20:43     ` Mike Frysinger
2008-01-28 21:10       ` Adrian Bunk
2008-01-28 21:21         ` Mike Frysinger
2008-01-28 21:46           ` Adrian Bunk
2008-01-28 23:36             ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200801280653.16624.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=risrajak@in.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox