]> arthur.barton.de Git - bup.git/commit
"Fix" tests with differing logical/physical paths
authorRob Browning <rlb@defaultvalue.org>
Fri, 18 Dec 2015 23:52:39 +0000 (17:52 -0600)
committerRob Browning <rlb@defaultvalue.org>
Fri, 18 Dec 2015 23:57:01 +0000 (17:57 -0600)
commit7a8f8d91501525d4710918a1638b5df1fd4c54a5
tree0ab9419553b0470576d79100406517e136849dc4
parente6f692856bf3cb32decc5850cf868cf1dc420e66
"Fix" tests with differing logical/physical paths

Explicitly "cd $(pwd -P)" before testing to work around problems
relating to unresolved questions about the correct behavior of drecurse
when the logical and physical paths differ.

The problem can be reproduced by entering a bup source directory via a
symlink and running "make check":

  ln -s bup-real bup
  cd bup
  make check

Thanks to Brandon Smith and Greg Troxel for reporting the
problem (again) and proposing slightly different solutions.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
Makefile