X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5704-bundle.sh;h=9e43731fe504c46737c5294e4d508b5c20bbb663;hb=bc62ca13c03a7f73b7091c26093c552776b749ee;hp=a51c8b0560f85d31dc73d40a58ae3e4c6655f140;hpb=4d50dbcda574a4618c84c26d0b8b9ef34980a1b7;p=git.git diff --git a/t/t5704-bundle.sh b/t/t5704-bundle.sh index a51c8b056..9e43731fe 100755 --- a/t/t5704-bundle.sh +++ b/t/t5704-bundle.sh @@ -54,8 +54,8 @@ test_expect_success 'ridiculously long subject in boundary' ' git bundle list-heads long-subject-bundle.bdl >heads && test -s heads && git fetch long-subject-bundle.bdl && - sed -n "/^-/{p;q}" long-subject-bundle.bdl >boundary && - grep "^-$_x40 " boundary + sed -n "/^-/{p;q;}" long-subject-bundle.bdl >boundary && + grep "^-[0-9a-f]\\{40\\} " boundary ' test_done