X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=t%2Ft5505-remote.sh;h=26920502093a98d4b5721f783e006de9d999792a;hb=954f7cfdac48b8d9fe91c29ecfa44ac0c639867c;hp=a82c5ffa1c608f45786fe37531ffe93008a3570b;hpb=a5ee8faaee15d2f53de3bd182550f506a3162fbe;p=thirdparty%2Fgit.git diff --git a/t/t5505-remote.sh b/t/t5505-remote.sh index a82c5ffa1c..2692050209 100755 --- a/t/t5505-remote.sh +++ b/t/t5505-remote.sh @@ -507,15 +507,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