Skip to content

Commit 6b4a4e4

Browse files
committed
unset global QUIET/VERBOSE/DEBUG variables when running tests
1 parent 67fc88f commit 6b4a4e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/setup

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ set -e
88
# Set the GIT_SUBREPO_ROOT for testing.
99
source "$PWD"/.rc
1010

11+
# Unset variables that can change command output for testing
12+
unset GIT_SUBREPO_QUIET
13+
unset GIT_SUBREPO_VERBOSE
14+
unset GIT_SUBREPO_DEBUG
15+
1116
# Get the location of this script
1217
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
1318

0 commit comments

Comments
 (0)