X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5541-http-push.sh;h=6c9ec6f1171ab39c115230a4b6bb6be3780577c9;hb=a734e7ef6c14d8eb476fe8b2d6f861b3ed2c211d;hp=9b85d420c39a0f2192b6b829a6c7912ae28d8e92;hpb=cfdfc5a3b2289dd54a25d7523c0cf4d3e6efd84b;p=git.git diff --git a/t/t5541-http-push.sh b/t/t5541-http-push.sh index 9b85d420c..6c9ec6f11 100755 --- a/t/t5541-http-push.sh +++ b/t/t5541-http-push.sh @@ -14,6 +14,7 @@ fi ROOT_PATH="$PWD" LIB_HTTPD_PORT=${LIB_HTTPD_PORT-'5541'} . "$TEST_DIRECTORY"/lib-httpd.sh +. "$TEST_DIRECTORY"/lib-terminal.sh start_httpd test_expect_success 'setup remote repository' ' @@ -186,5 +187,12 @@ test_expect_success 'push --mirror to repo with alternates' ' git push --mirror "$HTTPD_URL"/smart/alternates-mirror.git ' +test_expect_success TTY 'quiet push' ' + cd "$ROOT_PATH"/test_repo_clone && + test_commit quiet && + test_terminal git push --quiet --no-progress 2>&1 | tee output && + test_cmp /dev/null output +' + stop_httpd test_done