mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 06:25:07 +00:00
Limits variable scope
This commit is contained in:
parent
ab1bd5db53
commit
0213aafaad
@ -73,7 +73,7 @@ setup() {
|
||||
}
|
||||
|
||||
@test "[TAR] elasticsearch fails if java executable is not found" {
|
||||
export JAVA=$(which java)
|
||||
local JAVA=$(which java)
|
||||
|
||||
sudo chmod -x $JAVA
|
||||
run "$ESHOME/bin/elasticsearch"
|
||||
|
@ -127,7 +127,7 @@ fi
|
||||
|
||||
@test "[$GROUP] fail if java executable is not found" {
|
||||
[ "$GROUP" == "TAR PLUGINS" ] || skip "Test case only supported by TAR PLUGINS"
|
||||
export JAVA=$(which java)
|
||||
local JAVA=$(which java)
|
||||
|
||||
sudo chmod -x $JAVA
|
||||
run "$ESHOME/bin/plugin"
|
||||
|
Loading…
x
Reference in New Issue
Block a user