tests: do not store environment information

This prevents accidental secret leakage.

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
Nikos Mavrogiannopoulos
2026-06-17 06:17:05 +02:00
parent a53e6d4e25
commit f3f74de305
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -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
}
+1 -2
View File
@@ -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
}