aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/remotes.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/remotes.sh b/tests/remotes.sh
index 4a7ced1..4d6a8a2 100755
--- a/tests/remotes.sh
+++ b/tests/remotes.sh
@@ -7,10 +7,10 @@ TEST_PREFIX="$PWD/tests/prefix/$(uuid)"
make PREFIX="$TEST_PREFIX" install 1>/dev/null
PATH="$PWD/tests:$TEST_PREFIX/bin:$PATH"
-if ! git config --global user.email; then
+if ! git config --global user.email > /dev/null; then
git config --global user.email email@example.com
fi
-if ! git config --global user.name; then
+if ! git config --global user.name > /dev/null; then
git config --global user.name Example
fi