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.
This commit is contained in:
dholland 2012-08-14 04:53:43 +00:00
parent c9817be0c7
commit 4ce2ad59b6
1 changed files with 4 additions and 3 deletions

View File

@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1990, 1993\
#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 @@ getprivs(long id, int defaultq, int idtype, const char *filesys)
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;
}