Fix the admittedly rare case where we're running tests from a tree
that has a dot-name at its base, which only 'bup ls -a' will print.
This problem was originally encountered on a system that keeps mounts
under '/.autofs/'.
Signed-off-by: Yung-Chin Oei <yungchin@yungchin.nl>
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
WVPASS bup init
WVPASS bup index -vu $(pwd)/$D/x "$tmpdir"
WVPASS bup save -t -n src $(pwd)/$D/x "$tmpdir"
- WVPASSEQ "$(bup ls src/latest)" \
+ WVPASSEQ "$(bup ls -a src/latest)" \
"$top_dir/
tmp/"
) || WVFAIL