git p4 test: use real_path to resolve p4 client symlinks
[gitweb.git] / t / t5704-bundle.sh
index a51c8b0560f85d31dc73d40a58ae3e4c6655f140..9e43731fe504c46737c5294e4d508b5c20bbb663 100755 (executable)
@@ -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