From 0476a3a8f87338d6adeb72fbf03c393fa2e001db Mon Sep 17 00:00:00 2001 From: Tigran Mkrtchyan Date: Thu, 19 Oct 2023 10:11:08 +0200 Subject: [PATCH] config: fix unit test in ci turned out that SHELL env variable is not set in CI. Use HOME instead. Target: master Require-book: no Require-notes: no --- .../util/configuration/ConfigurationPropertiesTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/dcache/src/test/java/org/dcache/util/configuration/ConfigurationPropertiesTests.java b/modules/dcache/src/test/java/org/dcache/util/configuration/ConfigurationPropertiesTests.java index c1ebd943380..a968e21b01a 100644 --- a/modules/dcache/src/test/java/org/dcache/util/configuration/ConfigurationPropertiesTests.java +++ b/modules/dcache/src/test/java/org/dcache/util/configuration/ConfigurationPropertiesTests.java @@ -401,8 +401,8 @@ public void testGetReplacementExpandingWithSpace() { @Test public void testGetReplacementExpandingEnv() { - // we assume that this SHELL env variable always set - _standardProperties.setProperty(SIMPLE_PROPERTY_NAME, propertyReference("env.SHELL")); + // we assume that this HOME env variable always set + _standardProperties.setProperty(SIMPLE_PROPERTY_NAME, propertyReference("env.HOME")); _standardProperties.getProperty(SIMPLE_PROPERTY_NAME); }