Menu

#2179 testsuite: provider scripts don't pass all command line opts

Usability
open
Test (37)
5
2013-02-08
2011-04-05
No

The provider bootstrap scripts only pass upto 4 command line options. The testsuite run.sh script supports upto 6 command line options.

Following patch remedies the issue.

Index: test/test-cmpi-fsvol.sh

RCS file: /cvsroot/sblim/cmpi-fsvol/test/test-cmpi-fsvol.sh,v
retrieving revision 1.5
diff -a -u -p -r1.5 test-cmpi-fsvol.sh
--- test/test-cmpi-fsvol.sh 10 Nov 2005 16:35:46 -0000 1.5
+++ test/test-cmpi-fsvol.sh 5 Apr 2011 01:18:28 -0000
@@ -22,6 +22,6 @@ declare -i i=0;
cd $SCRIPT_PATH
while(($i<=$max))
do
- . $SCRIPT_PATH/run.sh ${CLASSNAMES[$i]} $1 $2 $3 $4 || exit 1;
+ . $SCRIPT_PATH/run.sh ${CLASSNAMES[$i]} $* || exit 1;

Discussion


Log in to post a comment.