diff -r 9a69ab6d7cf7 -r 648d6a1a1cf2 tests/test-import --- a/tests/test-import Thu Aug 06 21:35:58 2009 -0700 +++ b/tests/test-import Fri Aug 07 19:27:54 2009 -0700 @@ -332,3 +332,16 @@ EOF hg import --no-commit a.patch cd .. + +echo '% create file when source is not /dev/null' +cat > create.patch <