From dc524f398ed78c9820ef90b87d2ec4422d4f9132 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Wed, 8 Nov 2023 15:30:45 -0500 Subject: [PATCH] 21184: Accept singularity env var passed through to container. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- lib/crunchrun/executor_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/crunchrun/executor_test.go b/lib/crunchrun/executor_test.go index f1a873ae8d..3a91c78641 100644 --- a/lib/crunchrun/executor_test.go +++ b/lib/crunchrun/executor_test.go @@ -134,6 +134,10 @@ func (s *executorSuite) TestExecCleanEnv(c *C) { // singularity also sets this by itself (v3.5.2, but not v3.7.4) case "PROMPT_COMMAND", "PS1", "SINGULARITY_BIND", "SINGULARITY_COMMAND", "SINGULARITY_ENVIRONMENT": // singularity also sets these by itself (v3.7.4) + case "SINGULARITY_NO_EVAL": + // our singularity driver sets this to control + // singularity behavior, and it gets passed + // through to the container default: got[kv[0]] = kv[1] } -- 2.30.2