Skip to contentSkip to conversation

fix typo of $PROG_SCRIPT in run-all-posix-option-group-tests.sh

PATCH New ERAMOTO Masaya 1 participant 1 message Oct 7, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix typo of $PROG_SCRIPT in run-all-posix-option-group-tests.sh

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.

===============

testcases/open_posix_testsuite/bin/run-all-posix-option-group-tests.sh +1 -1
index a9b2c05..39ff989 100755
@@ -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

testcases/open_posix_testsuite/bin/run-all-posix-option-group-tests.sh +1 -1
index a9b2c05..39ff989 100755
@@ -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

------------------------------------------------------------------------------
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

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list