aboutsummaryrefslogtreecommitdiff
path: root/tests/remotes.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-22 18:35:41 -0300
committerEuAndreh <eu@euandre.org>2021-06-22 18:35:41 -0300
commitaa3b40aaffa28fae55be087e18a57cd24251d9b9 (patch)
treee530b90d411f1a05b667464bc0238a3d4d921fd4 /tests/remotes.sh
parenttests/cli-opts.sh: Stop testing behaviour of "locale" command (diff)
downloadgit-permalink-aa3b40aaffa28fae55be087e18a57cd24251d9b9.tar.gz
git-permalink-aa3b40aaffa28fae55be087e18a57cd24251d9b9.tar.xz
tests/remotes.sh: Supress output of git config
Diffstat (limited to '')
-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