# 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 require sed use_local_patch use_tmpdir # ============================================================== # Line number counting and reporting regression test cat > a.diff < a check 'patch -f --verbose a < a.diff | grep ^Hunk' < a check 'patch -f --verbose a < a.diff | grep ^Hunk' <