--- a/tests/test-import-eol Wed Dec 23 19:31:48 2009 +0100
+++ b/tests/test-import-eol Wed Dec 23 19:31:48 2009 +0100
@@ -73,9 +73,9 @@
hg st
# Test --eol and binary patches
-python -c 'file("b", "wb").write("a\x00\nb")'
+python -c 'file("b", "wb").write("a\x00\nb\r\nd")'
hg ci -Am addb
-python -c 'file("b", "wb").write("a\x00\nc")'
+python -c 'file("b", "wb").write("a\x00\nc\r\nd")'
hg diff --git > bin.diff
hg revert --no-backup b
echo % binary patch with --eol
--- a/tests/test-import-eol.out Wed Dec 23 19:31:48 2009 +0100
+++ b/tests/test-import-eol.out Wed Dec 23 19:31:48 2009 +0100
@@ -24,4 +24,4 @@
adding b
% binary patch with --eol
applying bin.diff
-'a\x00\nc'
+'a\x00\nc\r\nd'