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 <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
ed40ec551d
commit
bc2d159421
@ -16,13 +16,13 @@ test_description='merge-recursive options
|
||||
test_expect_success 'setup' '
|
||||
conflict_hunks () {
|
||||
sed -n -e "
|
||||
/^<<<</ b inconflict
|
||||
/^<<<</ b conflict
|
||||
b
|
||||
: inconflict
|
||||
: conflict
|
||||
p
|
||||
/^>>>>/ b
|
||||
n
|
||||
b inconflict
|
||||
b conflict
|
||||
" "$@"
|
||||
} &&
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user