代码拉取完成,页面将自动刷新
From 642fa760e64c4b442327657a21067d5cbe961d9e Mon Sep 17 00:00:00 2001
From: Roland Kammerer <roland.kammerer@linbit.com>
Date: Tue, 18 Jun 2024 10:21:07 +0200
Subject: [PATCH 045/100] tests: export sanitize environment
For whatever reasons the sanitized environment was not exported, which
worked on systems where variables like TZ were already set. On those
where they were unset this did not work, so explicitly export them.
---
tests/run.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/run.sh b/tests/run.sh
index b77e6e49..7cc8e6a2 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -6,10 +6,10 @@
# Roland Kammerer <roland.kammerer@linbit.com>
###
-LC_ALL=C
-LANG=C
-LANGUAGE=C
-TZ=UTC
+export LC_ALL=C
+export LANG=C
+export LANGUAGE=C
+export TZ=UTC
die() {
>&2 echo "$1"
--
2.33.1.windows.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。