# Copyright (C) 2010 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. # git diffs: copy and rename tests . $srcdir/test-lib.sh require_cat use_local_patch use_tmpdir # ============================================================== # Normal copy and rename patches echo old > f cat > copy.diff < rename.diff < f rm -f g h cat > copy.diff < rename.diff < f rm -f g h check 'patch -p1 --backup < copy.diff || echo "Status: $?"' <