]> arthur.barton.de Git - bup.git/commit
Add test for "child named after parent" bug.
authorYung-Chin Oei <oei.yungchin@gmail.com>
Tue, 13 Dec 2011 01:51:27 +0000 (19:51 -0600)
committerRob Browning <rlb@defaultvalue.org>
Fri, 17 Aug 2012 18:42:56 +0000 (13:42 -0500)
commitd5d1c8ae69284ad0363935400909bb6e6c98f245
tree864b6ad2714715038aa937be7a9a3ac0785f1792
parent383111ee06546d90f3762f2147a89c46f0784dff
Add test for "child named after parent" bug.

The added test shows that saving a node with the same name as the root
of the tree fails.

Changing Node.__cmp__() to compare by full paths should fix the
problem.

Signed-off-by: Yung-Chin Oei <oei.yungchin@gmail.com>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
t/test.sh