X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5523-push-upstream.sh;h=3683df13a6ae2208212bd3606187f9876e0562b5;hb=660e20f5c72ba363c08f0d3fca60c9680f296c40;hp=c229fe68f11007fbb96d7b3837c18fd2f306a0bf;hpb=7c4f050ae1e140a81f66b5cf92ad2c8673cfda8b;p=git.git diff --git a/t/t5523-push-upstream.sh b/t/t5523-push-upstream.sh index c229fe68f..3683df13a 100755 --- a/t/t5523-push-upstream.sh +++ b/t/t5523-push-upstream.sh @@ -101,11 +101,19 @@ test_expect_success TTY 'push -q suppresses progress' ' ! grep "Writing objects" err ' -test_expect_failure TTY 'push --no-progress suppresses progress' ' +test_expect_success TTY 'push --no-progress suppresses progress' ' ensure_fresh_upstream && test_terminal git push -u --no-progress upstream master >out 2>err && + ! grep "Unpacking objects" err && ! grep "Writing objects" err ' +test_expect_success TTY 'quiet push' ' + ensure_fresh_upstream && + + test_terminal git push --quiet --no-progress upstream master 2>&1 | tee output && + test_cmp /dev/null output +' + test_done