]> diplodocus.org Git - nmh/commitdiff
It looks like the first test fails on Solaris because it
authorDavid Levine <levinedl@acm.org>
Fri, 1 Feb 2013 20:08:45 +0000 (14:08 -0600)
committerDavid Levine <levinedl@acm.org>
Fri, 1 Feb 2013 20:08:45 +0000 (14:08 -0600)
can't find folder.  So, added a test/sleep before its first
use, in setup_test().

test/common.sh.in

index 6a1740c..b6f7c4c 100644 (file)
@@ -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;