Thread (39 messages) flat view 39 messages, 6 authors, 2016-06-15

Re: [PATCH v2 7/8] t5523-push-upstream: test progress messages

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:49:48

Tay Ray Chuan wrote:

[...]
quoted hunk ↗ jump to hunk
--- a/t/t5523-push-upstream.sh
+++ b/t/t5523-push-upstream.sh
@@ -70,4 +71,41 @@ test_expect_success 'push -u HEAD' '
 	check_config headbranch upstream refs/heads/headbranch
 '
 
+test_expect_success TTY 'progress messages go to tty' '
+	ensure_fresh_upstream &&
+
+	test_terminal git push -u upstream master >out 2>err &&
+	grep "Writing objects" err
+'
Thanks for testing the usual case.  It is easy to forget sometimes.

The tests using the TTY prerequisite would need to use TTYREDIR
unless we simplify the latter out of existence.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help