Skip to content

Commit b891874

Browse files
committedDec 19, 2012
removed whitespace and indented code.
1 parent 3f86867 commit b891874

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
 

‎createPatches.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ set -eu
3030
displayUsageMessage(){
3131
echo "---------------------------------------------------"
3232
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/ "
3434
echo "<OpenJdk_Source_Dir> is the location where you have cloned OpenJdk repository "
3535
echo "---------------------------------------------------"
3636
}
@@ -40,8 +40,8 @@ homeDir=`pwd`
4040
openJdkBaseDir="jdk8_tl/jdk"
4141
if [[ "$homeDir" != *jdk8_tl/jdk ]]
4242
then
43-
displayUsageMessage
44-
exit
43+
displayUsageMessage
44+
exit
4545
fi
4646

4747
# Get list of changed files from Mercurial

‎runJtregTests.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -eu
55
#
66
# runJtregTests.sh - runs JTregTests given a valid package / group name.
77
#
8-
# Copyright (c) 2012 Mani Sarkar <sadhak001@gmail.com> All rights reserved.
8+
# Copyright (c) 2012 Mani Sarkar <sadhak001@gmail.com> All rights reserved.
99
#
1010
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1111
#
@@ -54,7 +54,7 @@ function packageNameExists() {
5454
# function to display Usage message
5555
displayUsageMessage() {
5656
echo ""
57-
echo ""runJtregTests.sh" has been invoked without a valid parameter."
57+
echo "runJtregTests.sh has been invoked without a valid parameter."
5858
echo ""
5959
echo "Usage: runJtregTests.sh <group/package name>"
6060
echo "e.g. runJtregTests.sh jdk_awt ----- to run tests on the awt package"
@@ -85,7 +85,7 @@ displayUsageMessage() {
8585
echo ""
8686
}
8787

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.
8989
if [[ $# -eq 0 ]]
9090
then
9191
displayUsageMessage
@@ -99,7 +99,7 @@ packageNameExists;
9999
# check if the package name check fails validity
100100
if [[ $rtnResult -eq 0 ]];
101101
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
103103
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."
104104
displayUsageMessage
105105
exit

0 commit comments

Comments
 (0)
Please sign in to comment.