From 1fbc330e80eb1173db466bb1e36e5d7205cfffdf Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sat, 7 Feb 2015 09:27:22 -0600 Subject: [PATCH] test-meta.sh: don't test for bup.1 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 Tested-by: Rob Browning --- t/test-meta.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/test-meta.sh b/t/test-meta.sh index 1363598..c7d1fb8 100755 --- a/t/test-meta.sh +++ b/t/test-meta.sh @@ -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. -- 2.39.2