Skip to content

Commit

Permalink
Merge pull request kubernetes#211 from lavalamp/test_fix
Browse files Browse the repository at this point in the history
Fix jq detection (tested, works)
  • Loading branch information
brendandburns committed Jun 24, 2014
2 parents c5c6084 + a446467 commit 91c8828
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hack/e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@
ALREADY_UP=${1:-0}
LEAVE_UP=${2:-0}

# Exit on error
set -e

HAVE_JQ=$(which jq)
if [[ -z ${HAVE_JQ} ]]; then
echo "Please install jq, e.g.: 'sudo apt-get install jq' or, "
echo "if you're on a mac with homebrew, 'brew install jq'."
exit 1
fi

# Exit on error
set -e

# Use testing config
export KUBE_CONFIG_FILE="config-test.sh"
export KUBE_REPO_ROOT="$(dirname $0)/.."
Expand Down

0 comments on commit 91c8828

Please sign in to comment.