* [LTP] [PATCH] fix typo of $PROG_SCRIPT in run-all-posix-option-group-tests.sh
@ 2010-10-07 9:40 ERAMOTO Masaya
0 siblings, 0 replies; only message in thread
From: ERAMOTO Masaya @ 2010-10-07 9:40 UTC (permalink / raw)
To: ltp-list
[-- 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-07 9:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07 9:40 [LTP] [PATCH] fix typo of $PROG_SCRIPT in run-all-posix-option-group-tests.sh ERAMOTO Masaya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox