Fix script testing for centos-7

This commit is contained in:
André Carvalho 2015-09-20 00:28:25 -03:00
parent 0213aafaad
commit bb0b661d9b
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ setup() {
sudo chmod +x $JAVA
[ "$status" -eq 1 ]
[ "$output" = "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME" ]
[[ "$output" == *"Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME"* ]]
}
##################################

View File

@ -134,7 +134,7 @@ fi
sudo chmod +x $JAVA
[ "$status" -eq 1 ]
[ "$output" = "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME" ]
[[ "$output" == *"Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME"* ]]
}
# Note that all of the tests from here to the end of the file expect to be run