summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/libsm/t-shm.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/sendmail/libsm/t-shm.c')
-rw-r--r--contrib/sendmail/libsm/t-shm.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/sendmail/libsm/t-shm.c b/contrib/sendmail/libsm/t-shm.c
index a739ad1..5da07c1 100644
--- a/contrib/sendmail/libsm/t-shm.c
+++ b/contrib/sendmail/libsm/t-shm.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002 Sendmail, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: t-shm.c,v 1.17 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: t-shm.c,v 1.18 2002/01/31 04:11:41 ca Exp $")
#include <stdio.h>
@@ -230,6 +230,7 @@ main(argc, argv)
else
{
pid_t pid;
+ extern int SmTestNumErrors;
if ((pid = fork()) < 0)
{
@@ -250,6 +251,8 @@ main(argc, argv)
(void) wait(&status);
}
SM_TEST(r == 0);
+ if (SmTestNumErrors > 0)
+ printf("add -DSM_CONF_SHM=0 to confENVDEF in devtools/Site/site.config.m4\nand start over.\n");
return sm_test_end();
}
return r;
OpenPOWER on IntegriCloud