diff --git a/tests/connect-ios-script b/tests/connect-ios-script index cd74ea74..2aa5ed46 100755 --- a/tests/connect-ios-script +++ b/tests/connect-ios-script @@ -2,11 +2,11 @@ #echo $USERNAME : $REASON : $DEVICE -env >apple-ios.$REASON.tmp +builddir=${builddir:-.} verify_env_set() { if test -z "${!1}";then - echo "Fail: $1 environment variable was not set" >>apple-ios.$REASON.tmp + echo "Fail: $1 environment variable was not set" >&2 exit 1 fi } diff --git a/tests/connect-script b/tests/connect-script index ac86b056..b8cfa653 100755 --- a/tests/connect-script +++ b/tests/connect-script @@ -5,8 +5,7 @@ builddir=${builddir:-.} verify_env_set() { if test -z "${!1}";then - env >out.$REASON.fail.tmp - echo "$1 environment variable was not set" >>out.$REASON.fail.tmp + echo "$1 environment variable was not set" >&2 exit 1 fi }