INN commit: trunk/expire (makehistory.c)
INN Commit
Russ_Allbery at isc.org
Tue Jan 15 16:38:56 UTC 2008
Date: Tuesday, January 15, 2008 @ 08:38:55
Author: iulius
Revision: 7707
Fix the inndf test (makehistory should not check whether the
news user is "news" for the test suite).
Modified:
trunk/expire/makehistory.c
---------------+
makehistory.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: makehistory.c
===================================================================
--- makehistory.c 2008-01-15 12:48:46 UTC (rev 7706)
+++ makehistory.c 2008-01-15 16:38:55 UTC (rev 7707)
@@ -845,8 +845,10 @@
}
/* Change to the runasuser user and runasgroup group if necessary. */
- if (!NoHistory || !WriteStdout)
- ensure_news_user_grp(true, true);
+ if (!NoHistory || !WriteStdout) {
+ if (getenv("INN_TESTSUITE") == NULL)
+ ensure_news_user_grp(true, true);
+ }
/* Read in the overview schema */
ARTreadschema(DoOverview);
More information about the inn-committers
mailing list