Skip to content

Commit bc2d159

Browse files
drafnelgitster
authored andcommitted
t3032: limit sed branch labels to 8 characters
POSIX leaves as unspecified the handling of labels greater than 8 characters. Apparently, Sun decided to treat them as errors. Make sed on Solaris happy by trimming the length of labels to 8 characters. Signed-off-by: Brandon Casey <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ed40ec5 commit bc2d159

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/t3032-merge-recursive-options.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ test_description='merge-recursive options
1616
test_expect_success 'setup' '
1717
conflict_hunks () {
1818
sed -n -e "
19-
/^<<<</ b inconflict
19+
/^<<<</ b conflict
2020
b
21-
: inconflict
21+
: conflict
2222
p
2323
/^>>>>/ b
2424
n
25-
b inconflict
25+
b conflict
2626
" "$@"
2727
} &&
2828

0 commit comments

Comments
 (0)