X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft5505-remote.sh;h=230c0cd784b317856749609cf64a5067e35a6965;hb=60335534a6ac52d4d3a372a5b56df5a57a4463d1;hp=acfea06b81e95e0b9cdb621200dc6c6620b70107;hpb=49de47cfb2d717b64cf93c5abeeefb87ee483de0;p=git.git diff --git a/t/t5505-remote.sh b/t/t5505-remote.sh index acfea06b8..230c0cd78 100755 --- a/t/t5505-remote.sh +++ b/t/t5505-remote.sh @@ -508,15 +508,15 @@ test_expect_success 'remote prune to cause a dangling symref' ' ( cd seven && git remote prune origin - ) 2>err && + ) >err 2>&1 && grep "has become dangling" err && - : And the dangling symref will not cause other annoying errors + : And the dangling symref will not cause other annoying errors && ( cd seven && git branch -a ) 2>err && - ! grep "points nowhere" err + ! grep "points nowhere" err && ( cd seven && test_must_fail git branch nomore origin