# Copyright (C) 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 use_local_patch use_tmpdir # ================================================================ emit_patch() { cat < d.diff < f check 'patch -f -p0 --dry-run < d.diff || echo status: $?' < g check 'patch -f -p1 --dry-run < d.diff || echo status: $?' < d.diff <