Fix script testing for centos-7
This commit is contained in:
parent
0213aafaad
commit
bb0b661d9b
|
@ -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"* ]]
|
||||
}
|
||||
|
||||
##################################
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue