]> arthur.barton.de Git - bup.git/commit - t/test.sh
Currently bup only indexes physical parent paths; adjust tests.
authorZoran Zaric <zz@zoranzaric.de>
Mon, 29 Jul 2013 17:23:10 +0000 (19:23 +0200)
committerRob Browning <rlb@defaultvalue.org>
Tue, 30 Jul 2013 22:27:11 +0000 (17:27 -0500)
commit2f899b28de98a70773f8034c64b25d37c6b9543e
treef629661caf295fab417d08ad12b8118820dff010
parentbb67c85d3d7295c26c12d30b511ad4c92bda03cc
Currently bup only indexes physical parent paths; adjust tests.

Fix tests that fail on systems where components of the parent path are
symlinks (like /tmp on OS X).  i.e. if you run:

  bup index /x/y/z

bup might actually store

  /a/z...

if y is a symlink to a.  See index-cmd.py and index.reduce_paths().

Signed-off-by: Zoran Zaric <zz@zoranzaric.de>
[rlb@defaultvalue.org: handle test.sh fix differently; add realpath();
 adjust commit message.]
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/t/tmetadata.py
t/lib.sh
t/test.sh