summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authord <d@openbsd.org>1999-01-17 23:45:00 +0000
committerd <d@openbsd.org>1999-01-17 23:45:00 +0000
commit6e66c1219cbeaadf74d1d7af42b8dcc388d34ff5 (patch)
treeff74d16a62045aaa5b5705001c4771166443f599
parentupdate (diff)
downloadwireguard-openbsd-6e66c1219cbeaadf74d1d7af42b8dcc388d34ff5.tar.xz
wireguard-openbsd-6e66c1219cbeaadf74d1d7af42b8dcc388d34ff5.zip
say something when a test locks up
-rw-r--r--lib/libc_r/TEST/test.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc_r/TEST/test.h b/lib/libc_r/TEST/test.h
index d667e56794b..f945092fe66 100644
--- a/lib/libc_r/TEST/test.h
+++ b/lib/libc_r/TEST/test.h
@@ -41,6 +41,8 @@ __vpanic(type, errstr, filenm, lineno, fmt, ap)
_thread_dump_info();
_thread_sys__exit(1);
+
+ _thread_sys_write(2, "[locking]\n", 10);
while(1);
}