Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Commit 5f66f4c

Browse files
arindam-bandyopadhyayyaminikb
authored andcommitted
minor : fixing rq script -a option to work without arguments (#21766)
* minor : fixing -a to work without arguments * Modified the usage statement
1 parent b211a72 commit 5f66f4c

File tree

1 file changed

+4
-4
lines changed
  • main/appserver/tests

1 file changed

+4
-4
lines changed

main/appserver/tests/rq.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ find_test_job(){
174174
}
175175

176176
USAGE="Usage:\n\n 1. rq.sh -l ---> List all available test identifiers without running them\n\
177-
2. rq.sh -b -a ---> For running all tests\n\
178-
3. rq.sh -b -g <test_group_name> ---> For running a test group\n\
179-
4. rq.sh -b -t \"<test_id1> <test_id2> <test_id3>\" ---> For running a space separated list of tests"
177+
2. rq.sh -b <branch> -a ---> For running all tests\n\
178+
3. rq.sh -b <branch> -g <test_group_name> ---> For running a test group\n\
179+
4. rq.sh -b <branch> -t \"<test_id1> <test_id2> <test_id3>\" ---> For running a space separated list of tests"
180180

181181
list_test_ids(){
182182
for runtest in `find . -name run_test\.sh`; do
@@ -205,7 +205,7 @@ then
205205
echo -e $USAGE
206206
exit 0
207207
fi
208-
while getopts ":b:t:g:a:l" opt; do
208+
while getopts ":b:t:g:al" opt; do
209209
case "$opt" in
210210
b) branch=$OPTARG;;
211211
t) test_ids=($OPTARG);;

0 commit comments

Comments
 (0)