Browse Source

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>
maint
Brandon Casey 14 years ago committed by Junio C Hamano
parent
commit
bc2d159421
  1. 6
      t/t3032-merge-recursive-options.sh

6
t/t3032-merge-recursive-options.sh

@ -16,13 +16,13 @@ test_description='merge-recursive options @@ -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…
Cancel
Save