]> arthur.barton.de Git - bup.git/commit - t/test.sh
t/test.sh: use /bin/pwd instead of just pwd.
authorAvery Pennarun <apenwarr@gmail.com>
Sat, 13 Nov 2010 05:58:03 +0000 (21:58 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Sat, 13 Nov 2010 05:58:47 +0000 (21:58 -0800)
commit23b2520bc3e19938a85d13acc2fb1794e3fb71a3
tree5e1f7a47c7d503ae4c4b97e7889839a00a31893e
parentfc8d7d49e1c14da50e61d27c63e8ee7aa251e6d2
t/test.sh: use /bin/pwd instead of just pwd.

$(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>
t/test.sh