6 Star 0 Fork 6

src-openEuler/drbd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-tests-export-sanitize-environment.patch 847 Bytes
一键复制 编辑 原始数据 按行查看 历史
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/drbd.git
git@gitee.com:src-openeuler/drbd.git
src-openeuler
drbd
drbd
master

搜索帮助