tests/test-issue322.out
author Will Maier <willmaier@ml1.net>
Fri, 28 Jul 2006 13:46:19 -0500
changeset 3022 d9b8d28c0b94
parent 2953 3d5547845158
child 5051 e3dffbdc6522
permissions -rw-r--r--
Find the system's MD5 binary. Different binaries calculate MD5 checksums on different systems. Try a couple known programs and only calculate and verify the checksum if they exist. This should silence warnings on eg OpenBSD.

% file replaced with directory
adding a
% should fail - would corrupt dirstate
abort: file named 'a' already in dirstate
% directory replaced with file
adding a/a
% should fail - would corrupt dirstate
abort: directory named 'a' already in dirstate
% directory replaced with file
adding b/c/d
% should fail - would corrupt dirstate
abort: directory named 'b' already in dirstate