public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com>
To: ltp-list <ltp-list@lists.sourceforge.net>
Subject: [LTP] [PATCH] fix typo of $PROG_SCRIPT in run-all-posix-option-group-tests.sh
Date: Thu, 07 Oct 2010 18:40:13 +0900	[thread overview]
Message-ID: <4CAD957D.4060900@jp.fujitsu.com> (raw)

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

Hi,

I found a tiny typo of $PROG_SCRIPT in run-all-posix-option-group-tests.sh.

Because of this typo, this shell script doesn't run the test of open_posix_testsuite at all.
It output the following message:
===============
# ./bin/run-all-posix-option-group-tests.sh
./bin/run-all-posix-option-group-tests.sh: line 14: AIO: command not found
./bin/run-all-posix-option-group-tests.sh: line 14: MEM: command not found
./bin/run-all-posix-option-group-tests.sh: line 14: MSG: command not found
./bin/run-all-posix-option-group-tests.sh: line 14: SEM: command not found
./bin/run-all-posix-option-group-tests.sh: line 14: SIG: command not found
./bin/run-all-posix-option-group-tests.sh: line 14: THR: command not found
./bin/run-all-posix-option-group-tests.sh: line 14: TMR: command not found
./bin/run-all-posix-option-group-tests.sh: line 14: TPS: command not found
===============

The attached patch will fix it.


Signed-off-by: ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com>
===============
diff --git a/testcases/open_posix_testsuite/bin/run-all-posix-option-group-tests.sh b/testcases/open_posix_testsuite/bin/run-all-posix-option-group-tests.sh
index a9b2c05..39ff989 100755
--- a/testcases/open_posix_testsuite/bin/run-all-posix-option-group-tests.sh
+++ b/testcases/open_posix_testsuite/bin/run-all-posix-option-group-tests.sh
@@ -8,7 +8,7 @@
 #

 FAILED=0
-RPOG_SCRIPT="$(dirname "$0")/run-posix-option-group-test.sh"
+PROG_SCRIPT="$(dirname "$0")/run-posix-option-group-test.sh"

 for option_group in AIO MEM MSG SEM SIG THR TMR TPS; do
        if ! $PROG_SCRIPT $option_group; then
===============

Thanks,
ERAMOTO

[-- Attachment #2: posix-fix-typo-of-PROG_SCRIPT-in-run-all-posix-option-group-tests.sh.patch --]
[-- Type: text/plain, Size: 595 bytes --]

diff --git a/testcases/open_posix_testsuite/bin/run-all-posix-option-group-tests.sh b/testcases/open_posix_testsuite/bin/run-all-posix-option-group-tests.sh
index a9b2c05..39ff989 100755
--- a/testcases/open_posix_testsuite/bin/run-all-posix-option-group-tests.sh
+++ b/testcases/open_posix_testsuite/bin/run-all-posix-option-group-tests.sh
@@ -8,7 +8,7 @@
 #
 
 FAILED=0
-RPOG_SCRIPT="$(dirname "$0")/run-posix-option-group-test.sh"
+PROG_SCRIPT="$(dirname "$0")/run-posix-option-group-test.sh"
 
 for option_group in AIO MEM MSG SEM SIG THR TMR TPS; do
 	if ! $PROG_SCRIPT $option_group; then

[-- Attachment #3: Type: text/plain, Size: 369 bytes --]

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb

[-- Attachment #4: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

                 reply	other threads:[~2010-10-07  9:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4CAD957D.4060900@jp.fujitsu.com \
    --to=eramoto.masaya@jp.fujitsu.com \
    --cc=ltp-list@lists.sourceforge.net \
    /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