1
# Copyright (C) 2009 Free Software Foundation, Inc.
3
# Copying and distribution of this file, with or without modification,
4
# in any medium, are permitted without royalty provided the copyright
5
# notice and this notice are preserved.
14
# ==============================================================
16
# Starts at a line <= 1 and prefix context < suffix context: start of
17
# file until hunk has become symmetric.
31
check 'patch < a.diff' <<EOF
33
Hunk #1 succeeded at 2 with fuzz 1 (offset 1 line).
38
check 'patch < a.diff' <<EOF
42
# ==============================================================
44
# Starts at a line > 1: anywhere in the file
58
check 'patch < a.diff' <<EOF
62
# ==============================================================
64
# Prefix context > suffix context: end of file until hunk has
79
check 'patch < a.diff' <<EOF
81
Hunk #1 succeeded at 2 with fuzz 1.