$(pwd) seems to sometimes lie, because the shell uses the $PWD environment
variable. If your PWD is a symlink, this can cause the test to fail since
bup figures out the path using a real call to getcwd().
Problem reported by Zenaan Harkness, though he never did acknowledge if this
fixes his problem :(
Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
. wvtest.sh
#set -e
-TOP="$(pwd)"
+TOP="$(/bin/pwd)"
export BUP_DIR="$TOP/buptest.tmp"
bup()