# Test a deeper subdir/ to make sure top-level non-dir metadata is
# restored correctly. We need at least one dir and one non-dir at
# the "top-level".
- WVPASS test -d src/var/cmd
- WVPASS test -f src/var/cmd/save-cmd.py
+ WVPASS test -d src/var/lib/bup
+ WVPASS test -f src/var/lib/bup/git.py
WVPASS rm -rf "$BUP_DIR"
WVPASS bup init
WVPASS touch -t 201111111111 src-restore # Make sure the top won't match.
if ! modprobe loop; then
echo 'Unable to load loopback module; skipping dependent tests.' 1>&2
- exit 0
+ exit 0 # FIXME: allow intermixed WVSKIPs
fi
testfs="$(WVPASS wvmkmountpt)" || exit $?