X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/62612ee23efe146829a7bb64817cdd23f41775bb..b1ffc878a5ea6ba083b8fbc8f20c15c7a6f1e1ec:/lib/crunchrun/executor_test.go diff --git a/lib/crunchrun/executor_test.go b/lib/crunchrun/executor_test.go index e757f579fe..3a91c78641 100644 --- a/lib/crunchrun/executor_test.go +++ b/lib/crunchrun/executor_test.go @@ -6,6 +6,7 @@ package crunchrun import ( "bytes" + "context" "fmt" "io" "io/ioutil" @@ -18,7 +19,6 @@ import ( "git.arvados.org/arvados.git/lib/diagnostics" "git.arvados.org/arvados.git/sdk/go/arvados" "git.arvados.org/arvados.git/sdk/go/arvadostest" - "golang.org/x/net/context" . "gopkg.in/check.v1" ) @@ -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] }