Skip to content

Commit

Permalink
t3032: limit sed branch labels to 8 characters
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Brandon Casey authored and Junio C Hamano committed Jan 6, 2011
1 parent ed40ec5 commit bc2d159
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/t3032-merge-recursive-options.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
" "$@"
} &&
Expand Down

0 comments on commit bc2d159

Please sign in to comment.