]> arthur.barton.de Git - bup.git/commitdiff
test-meta.sh: don't test for bup.1
authorRob Browning <rlb@defaultvalue.org>
Sat, 7 Feb 2015 15:27:22 +0000 (09:27 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sat, 7 Feb 2015 15:34:26 +0000 (09:34 -0600)
The manpages may not exist (i.e. if pandoc's not available).

Thanks to Mark J Hewitt for reporting the issue.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
t/test-meta.sh

index 1363598593f04c65499b80ac90f4c2a52751a178..c7d1fb86cb2f63d81647e200b7d2ccaab6e203b1 100755 (executable)
@@ -158,7 +158,8 @@ WVSTART 'metadata save/restore (general)'
     # 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 -f src/share/man/man1/bup.1
+    WVPASS test -d src/bin
+    WVPASS test -f src/bin/bup
     WVPASS rm -rf "$BUP_DIR"
     WVPASS bup init
     WVPASS touch -t 201111111111 src-restore # Make sure the top won't match.