File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ set -eu
30
30
displayUsageMessage (){
31
31
echo " ---------------------------------------------------"
32
32
echo " Usage : bash createPatches.sh "
33
- echo " This script is supposed to be places in <OpenJdk_Source_Dir>/jdk8_tl/jdk/ "
33
+ echo " This script is supposed to be placed in <OpenJdk_Source_Dir>/jdk8_tl/jdk/ "
34
34
echo " <OpenJdk_Source_Dir> is the location where you have cloned OpenJdk repository "
35
35
echo " ---------------------------------------------------"
36
36
}
@@ -40,8 +40,8 @@ homeDir=`pwd`
40
40
openJdkBaseDir=" jdk8_tl/jdk"
41
41
if [[ " $homeDir " != * jdk8_tl/jdk ]]
42
42
then
43
- displayUsageMessage
44
- exit
43
+ displayUsageMessage
44
+ exit
45
45
fi
46
46
47
47
# Get list of changed files from Mercurial
Original file line number Diff line number Diff line change 5
5
#
6
6
# runJtregTests.sh - runs JTregTests given a valid package / group name.
7
7
#
8
- # Copyright (c) 2012 Mani Sarkar <sadhak001@gmail.com> All rights reserved.
8
+ # Copyright (c) 2012 Mani Sarkar <sadhak001@gmail.com> All rights reserved.
9
9
#
10
10
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
11
11
#
@@ -54,7 +54,7 @@ function packageNameExists() {
54
54
# function to display Usage message
55
55
displayUsageMessage () {
56
56
echo " "
57
- echo " " runJtregTests.sh" has been invoked without a valid parameter."
57
+ echo " runJtregTests.sh has been invoked without a valid parameter."
58
58
echo " "
59
59
echo " Usage: runJtregTests.sh <group/package name>"
60
60
echo " e.g. runJtregTests.sh jdk_awt ----- to run tests on the awt package"
@@ -85,7 +85,7 @@ displayUsageMessage() {
85
85
echo " "
86
86
}
87
87
88
- # Display usage details if user calls runTestRigTests without any parameter and exit the script.
88
+ # Display usage details if user calls runTestRigTests without any parameter and exit the script.
89
89
if [[ $# -eq 0 ]]
90
90
then
91
91
displayUsageMessage
@@ -99,7 +99,7 @@ packageNameExists;
99
99
# check if the package name check fails validity
100
100
if [[ $rtnResult -eq 0 ]];
101
101
then
102
- # if no match is found display error show the usage message and exit the script
102
+ # if no match is found display error, show the usage message and exit the script
103
103
echo " [$1 ] is not a valid OpenJDK test package name. Please refer to the usage message below for a list of valid test package names."
104
104
displayUsageMessage
105
105
exit
You can’t perform that action at this time.
0 commit comments