tests/test-hardlinks-safety.out
author Christian Ebert <blacktrash@gmx.net>
Wed, 20 Aug 2008 17:58:12 +0200
changeset 6920 7e5e13bee8f4
parent 6869 b49e01863202
child 7627 fb32ae9c76e7
permissions -rw-r--r--
Make test-hardlinks-safety portable On some systems cp cannot create/preserve hardlinks. Use util.copyfiles instead, after making sure it actually does create hardlinks.

% no diff if hardlink
% init
adding foo to series file
applying foo
Now at: foo
adding bar to series file
applying bar
Now at: bar
430ed4828a74fa4047bc816a25500f7472ab4bfe:foo
4e7abb4840c46a910f6d7b4d3c3fc7e5209e684c:bar
%
foo
bar
%%%
430ed4828a74fa4047bc816a25500f7472ab4bfe:foo
%
foo
%%%
4e7abb4840c46a910f6d7b4d3c3fc7e5209e684c foo
430ed4828a74fa4047bc816a25500f7472ab4bfe bar
%
4e7abb4840c46a910f6d7b4d3c3fc7e5209e684c lfoo
430ed4828a74fa4047bc816a25500f7472ab4bfe lbar
%%%
4e7abb4840c46a910f6d7b4d3c3fc7e5209e684c foo
%
4e7abb4840c46a910f6d7b4d3c3fc7e5209e684c lfoo