We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a576055 commit 54bf2e7Copy full SHA for 54bf2e7
tests/venv/start/postBuild/README.rst
@@ -3,3 +3,5 @@ postBuild and start
3
4
This test checks that we can use a postBuild and start script
5
at the same time.
6
+
7
+It also checks that exit on error (set -e) has not leaked into the main shell.
tests/venv/start/postBuild/verify
@@ -1,4 +1,9 @@
1
-#!/bin/bash
+#!/bin/bash -il
2
+# Run this as an interactive login shell so that the conda profile is sourced
+# Test that `set -e` isn't incorrectly set in a profile
+false
set -euo pipefail
8
grep 'Done!' $HOME/postbuild.txt
9
# set value of TEST_START_VAR to empty string when it is not defined
0 commit comments