# Copyright (C) 2009, 2011-2012 Free Software Foundation, Inc. # # Copying and distribution of this file, with or without modification, # in any medium, are permitted without royalty provided the copyright # notice and this notice are preserved. . $srcdir/test-lib.sh require cat use_local_patch use_tmpdir # ============================================================== # Starts at a line <= 1 and prefix context < suffix context: start of # file until hunk has become symmetric. cat > a.diff < a check 'patch < a.diff' < a check 'patch < a.diff' < 1: anywhere in the file cat > a.diff < a check 'patch < a.diff' < suffix context: end of file until hunk has # become symmetric. cat > a.diff < a check 'patch < a.diff' <