@@ -519,7 +519,7 @@ test_expect_success 'stdin create ref works with path with space to blob' '
519
519
test_expect_success ' stdin update ref fails with wrong old value' '
520
520
echo "update $c $m $m~1" >stdin &&
521
521
test_must_fail git update-ref --stdin <stdin 2>err &&
522
- grep "fatal: Cannot lock ref ' " '" ' $c' " '" ' " err &&
522
+ grep "fatal: cannot lock ref ' " '" ' $c' " '" ' " err &&
523
523
test_must_fail git rev-parse --verify -q $c
524
524
'
525
525
@@ -555,7 +555,7 @@ test_expect_success 'stdin update ref works with right old value' '
555
555
test_expect_success ' stdin delete ref fails with wrong old value' '
556
556
echo "delete $a $m~1" >stdin &&
557
557
test_must_fail git update-ref --stdin <stdin 2>err &&
558
- grep "fatal: Cannot lock ref ' " '" ' $a' " '" ' " err &&
558
+ grep "fatal: cannot lock ref ' " '" ' $a' " '" ' " err &&
559
559
git rev-parse $m >expect &&
560
560
git rev-parse $a >actual &&
561
561
test_cmp expect actual
@@ -688,7 +688,7 @@ test_expect_success 'stdin update refs fails with wrong old value' '
688
688
update $c ' '
689
689
EOF
690
690
test_must_fail git update-ref --stdin <stdin 2>err &&
691
- grep "fatal: Cannot lock ref ' " '" ' $c' " '" ' " err &&
691
+ grep "fatal: cannot lock ref ' " '" ' $c' " '" ' " err &&
692
692
git rev-parse $m >expect &&
693
693
git rev-parse $a >actual &&
694
694
test_cmp expect actual &&
@@ -883,7 +883,7 @@ test_expect_success 'stdin -z create ref works with path with space to blob' '
883
883
test_expect_success ' stdin -z update ref fails with wrong old value' '
884
884
printf $F "update $c" "$m" "$m~1" >stdin &&
885
885
test_must_fail git update-ref -z --stdin <stdin 2>err &&
886
- grep "fatal: Cannot lock ref ' " '" ' $c' " '" ' " err &&
886
+ grep "fatal: cannot lock ref ' " '" ' $c' " '" ' " err &&
887
887
test_must_fail git rev-parse --verify -q $c
888
888
'
889
889
@@ -899,7 +899,7 @@ test_expect_success 'stdin -z create ref fails when ref exists' '
899
899
git rev-parse "$c" >expect &&
900
900
printf $F "create $c" "$m~1" >stdin &&
901
901
test_must_fail git update-ref -z --stdin <stdin 2>err &&
902
- grep "fatal: Cannot lock ref ' " '" ' $c' " '" ' " err &&
902
+ grep "fatal: cannot lock ref ' " '" ' $c' " '" ' " err &&
903
903
git rev-parse "$c" >actual &&
904
904
test_cmp expect actual
905
905
'
@@ -930,7 +930,7 @@ test_expect_success 'stdin -z update ref works with right old value' '
930
930
test_expect_success ' stdin -z delete ref fails with wrong old value' '
931
931
printf $F "delete $a" "$m~1" >stdin &&
932
932
test_must_fail git update-ref -z --stdin <stdin 2>err &&
933
- grep "fatal: Cannot lock ref ' " '" ' $a' " '" ' " err &&
933
+ grep "fatal: cannot lock ref ' " '" ' $a' " '" ' " err &&
934
934
git rev-parse $m >expect &&
935
935
git rev-parse $a >actual &&
936
936
test_cmp expect actual
@@ -1045,7 +1045,7 @@ test_expect_success 'stdin -z update refs fails with wrong old value' '
1045
1045
git update-ref $c $m &&
1046
1046
printf $F "update $a" "$m" "$m" "update $b" "$m" "$m" "update $c" "$m" "$Z" >stdin &&
1047
1047
test_must_fail git update-ref -z --stdin <stdin 2>err &&
1048
- grep "fatal: Cannot lock ref ' " '" ' $c' " '" ' " err &&
1048
+ grep "fatal: cannot lock ref ' " '" ' $c' " '" ' " err &&
1049
1049
git rev-parse $m >expect &&
1050
1050
git rev-parse $a >actual &&
1051
1051
test_cmp expect actual &&
0 commit comments