Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/edquota Grr. The ATF quota tests demand failing sil...



details:   https://anonhg.NetBSD.org/src/rev/2f51672dae64
branches:  trunk
changeset: 780981:2f51672dae64
user:      dholland <dholland%NetBSD.org@localhost>
date:      Tue Aug 14 04:53:43 2012 +0000

description:
Grr. The ATF quota tests demand failing silently in certain circumstances.
For netbsd-6 we will just have to go with the flow, as I'm not touching
anything outside edquota tonight.

diffstat:

 usr.sbin/edquota/edquota.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r f4b644ad089f -r 2f51672dae64 usr.sbin/edquota/edquota.c
--- a/usr.sbin/edquota/edquota.c        Tue Aug 14 04:48:42 2012 +0000
+++ b/usr.sbin/edquota/edquota.c        Tue Aug 14 04:53:43 2012 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: edquota.c,v 1.51 2012/08/14 04:48:42 dholland Exp $ */
+/*      $NetBSD: edquota.c,v 1.52 2012/08/14 04:53:43 dholland Exp $ */
 /*
  * Copyright (c) 1980, 1990, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "from: @(#)edquota.c    8.3 (Berkeley) 4/27/95";
 #else
-__RCSID("$NetBSD: edquota.c,v 1.51 2012/08/14 04:48:42 dholland Exp $");
+__RCSID("$NetBSD: edquota.c,v 1.52 2012/08/14 04:53:43 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -579,7 +579,8 @@
                qup = getprivs2(id, idtype, fst[i].f_mntonname, defaultq,
                                &qlist->idtypename);
                if (qup == NULL) {
-                       warn("Reading quotas failed for id %ld", id);
+                       /* XXX the atf tests demand failing silently */
+                       /*warn("Reading quotas failed for id %ld", id);*/
                        continue;
                }
 



Home | Main Index | Thread Index | Old Index