From: David Levine Date: Fri, 1 Feb 2013 20:08:45 +0000 (-0600) Subject: It looks like the first test fails on Solaris because it X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/f4bef2e06b4284481b3f900e853d1667f52eb37b?hp=88363a377a5a6f1f9e3984c2a300816c2042f5e3 It looks like the first test fails on Solaris because it can't find folder. So, added a test/sleep before its first use, in setup_test(). --- diff --git a/test/common.sh.in b/test/common.sh.in index 6a1740c2..b6f7c4cf 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -171,11 +171,7 @@ setup_test () # Only install once # if [ -d "${MH_INST_DIR}${bindir}" ]; then - if [ -f $MH_INST_DIR/$prefix/bin/folder ]; then - : - else - echo 'installation not finished!' - fi + : else (cd "${MH_OBJ_DIR}" && make DESTDIR="${MH_INST_DIR}" SETGID_MAIL= install) || @@ -219,6 +215,12 @@ EOF cp "${MH_INST_DIR}${sysconfdir}/${f}" "${MH_TEST_DIR}/Mail" || exit 1 done + if [ -f $MH_INST_DIR/$prefix/bin/folder ]; then + : + else + echo 'installation not finished!' + sleep 10 + fi folder -create +inbox > /dev/null # create 10 basic messages for i in 1 2 3 4 5 6 7 8 9 10;