# 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. # Don't recognize hunks before a filename has been specified/seen . $srcdir/test-lib.sh require cat require sed use_local_patch use_tmpdir # ============================================================== cat > n.diff < one EOF check 'patch < n.diff || echo "Status: $?"' < e.diff < h+c.diff < c.diff check 'patch < c.diff || echo "Status: $?"' < h+u.diff < u.diff check 'patch < u.diff || echo "Status: $?"' <