Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/rump/rumpkern lockme_DOUBLEINIT:
details: https://anonhg.NetBSD.org/src/rev/8c436a7ab995
branches: trunk
changeset: 975436:8c436a7ab995
user: martin <martin%NetBSD.org@localhost>
date: Fri Aug 28 19:29:58 2020 +0000
description:
lockme_DOUBLEINIT:
The failure message differs slightly when using LOCKDEBUG, modify the
expected pattern to cover both variants.
diffstat:
tests/rump/rumpkern/t_kern.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 087084e8ef8d -r 8c436a7ab995 tests/rump/rumpkern/t_kern.c
--- a/tests/rump/rumpkern/t_kern.c Fri Aug 28 19:21:00 2020 +0000
+++ b/tests/rump/rumpkern/t_kern.c Fri Aug 28 19:29:58 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_kern.c,v 1.5 2017/05/03 12:09:41 pgoyette Exp $ */
+/* $NetBSD: t_kern.c,v 1.6 2020/08/28 19:29:58 martin Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -112,7 +112,7 @@
LOCKFUN(DOUBLEFREE, "free lock twice", 0,
"panic: mutex_destroy,.*: uninitialized lock");
LOCKFUN(DOUBLEINIT, "init lock twice", 1,
- "mutex error: mutex_init,.*: already initialized");
+ "mutex error: .*mutex_init,.*: already initialized");
LOCKFUN(MEMFREE, "free memory active lock is in", 1,
"mutex error: kmem_intr_free,.*: allocation contains active lock");
LOCKFUN(MTX, "locking-against-self mutex", 0,
Home |
Main Index |
Thread Index |
Old Index