diff options
author | 2003-01-23 00:52:52 +0000 | |
---|---|---|
committer | 2003-01-23 00:52:52 +0000 | |
commit | 74899bb98b96dc44c36792a13e435e31a2c3614b (patch) | |
tree | ac425264e7d726caa641f58c8251a104da0f9057 | |
parent | Don't log TIS auth response; "get rid of it" - markus@ (diff) | |
download | wireguard-openbsd-74899bb98b96dc44c36792a13e435e31a2c3614b.tar.xz wireguard-openbsd-74899bb98b96dc44c36792a13e435e31a2c3614b.zip |
print out the bad values when the test fails
-rw-r--r-- | regress/lib/libpthread/preemption_float/preemption_float.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libpthread/preemption_float/preemption_float.c b/regress/lib/libpthread/preemption_float/preemption_float.c index b91ca4b8c71..6cd7cec2467 100644 --- a/regress/lib/libpthread/preemption_float/preemption_float.c +++ b/regress/lib/libpthread/preemption_float/preemption_float.c @@ -1,4 +1,4 @@ -/* $OpenBSD: preemption_float.c,v 1.2 2002/06/23 20:21:22 marc Exp $ */ +/* $OpenBSD: preemption_float.c,v 1.3 2003/01/23 00:52:52 marc Exp $ */ /* * Copyright (c) 1993, 1994, 1995, 1996 by Chris Provenzano and contributors, * proven@mit.edu All rights reserved. @@ -62,6 +62,7 @@ void *log_loop (void *x) { d = sin(d); /* if (d2 != d1) { */ if (memcmp (&d2, &d1, 8)) { + printf("log loop: %f != %f\n", d1, d2); pthread_exit(&float_failed); } } @@ -86,6 +87,7 @@ void *trig_loop (void *x) { d = sin(d); /* if (d2 != d1) { */ if (memcmp (&d2, &d1, 8)) { + printf("trig loop: %f != %f\n", d1, d2); pthread_exit(&float_failed); } } |