diff options
Diffstat (limited to 't/t5702-clone-options.sh')
-rwxr-xr-x | t/t5702-clone-options.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/t/t5702-clone-options.sh b/t/t5702-clone-options.sh index 85cadfad6d..d3dbdfe069 100755 --- a/t/t5702-clone-options.sh +++ b/t/t5702-clone-options.sh @@ -19,17 +19,18 @@ test_expect_success 'clone -o' ' ' -test_expect_success 'redirected clone' ' +test_expect_success 'redirected clone does not show progress' ' git clone "file://$(pwd)/parent" clone-redirected >out 2>err && - test_must_be_empty err + ! grep % err ' -test_expect_success 'redirected clone -v' ' + +test_expect_success 'redirected clone -v does show progress' ' git clone --progress "file://$(pwd)/parent" clone-redirected-progress \ >out 2>err && - test -s err + grep % err ' |