From f3f74de305a4e70178137b3509175b69bb1559fa Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Wed, 17 Jun 2026 06:17:03 +0200 Subject: [PATCH] tests: do not store environment information This prevents accidental secret leakage. Signed-off-by: Nikos Mavrogiannopoulos --- tests/connect-ios-script | 4 ++-- tests/connect-script | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) 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 }