Re-work the test suite so it now works with Automake (via "make check").
[mmh] / test / manpages / test-manpages
old mode 100644 (file)
new mode 100755 (executable)
similarity index 91%
rename from test/tests/manpages/test-manpages
rename to test/manpages/test-manpages
index f7acc69..7c221ba
@@ -6,11 +6,13 @@
 #
 ######################################################
 
-. $MH_TEST_COMMON
+. ${MH_TEST_COMMON}
+
+setup_test
 
 require_prog groff
 
-cd $MH_TEST_DIR/share/man
+cd ${MH_INST_DIR}${mandir} || exit 1
 
 # groff will still exit with status zero even if warnings
 # were emitted, so we have to jump through hoops to