mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
tweak integration test script
This commit is contained in:
@@ -37,14 +37,14 @@ export PATH=$GOPATH/bin:$PATH
|
|||||||
function runTest {
|
function runTest {
|
||||||
local script=$1
|
local script=$1
|
||||||
shift
|
shift
|
||||||
local args=$@
|
local args=$@
|
||||||
|
|
||||||
if [ ! -x "$script" ]; then
|
if [ ! -x "$script" ]; then
|
||||||
exit_with "Unable to run $script"
|
exit_with "Unable to run $script"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$script "$args"
|
$script "$args"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
exit_with "Failed: $script $args"
|
exit_with "Failed: $script $args"
|
||||||
fi
|
fi
|
||||||
echo "$script passed."
|
echo "$script passed."
|
||||||
|
|||||||
Reference in New Issue
Block a user