#!/bin/bash remote=() focus=() case "$1" in -remote|--remote) remote=("-tags" "remote"); shift;; esac if [[ -n "$*" ]]; then focus=("-focus" "$*") fi export TMPDIR=/var/tmp/ginkgo mkdir -p $TMPDIR /home/esm/go/bin/ginkgo \ -trace \ -debug \ -r \ "${remote[@]}" \ "${focus[@]}" \ test/e2e