Temporarily make PR t_sp:sigsafe noisier.
This is an attempt to diagnose why it's flaky in the releng testbeds but not when I run it. This change will be backed out once we get new testbed output.
This commit is contained in:
parent
3f53e7a4bf
commit
561072c7c1
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: rumpuser_daemonize.c,v 1.9 2024/04/04 17:27:23 riastradh Exp $ */
|
/* $NetBSD: rumpuser_daemonize.c,v 1.10 2024/04/04 21:19:25 riastradh Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2010 Antti Kantee. All Rights Reserved.
|
* Copyright (c) 2010 Antti Kantee. All Rights Reserved.
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
#include "rumpuser_port.h"
|
#include "rumpuser_port.h"
|
||||||
|
|
||||||
#if !defined(lint)
|
#if !defined(lint)
|
||||||
__RCSID("$NetBSD: rumpuser_daemonize.c,v 1.9 2024/04/04 17:27:23 riastradh Exp $");
|
__RCSID("$NetBSD: rumpuser_daemonize.c,v 1.10 2024/04/04 21:19:25 riastradh Exp $");
|
||||||
#endif /* !lint */
|
#endif /* !lint */
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -161,6 +161,9 @@ rumpuser_daemonize_done(int error)
|
||||||
close(fd);
|
close(fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fflush(stdout);
|
||||||
|
fflush(stderr);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
n = send(daemonpipe[1], &error, sizeof(error), MSG_NOSIGNAL);
|
n = send(daemonpipe[1], &error, sizeof(error), MSG_NOSIGNAL);
|
||||||
if (n != sizeof(error)) {
|
if (n != sizeof(error)) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: t_sp.sh,v 1.18 2024/04/04 17:27:32 riastradh Exp $
|
# $NetBSD: t_sp.sh,v 1.19 2024/04/04 21:19:25 riastradh Exp $
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 The NetBSD Foundation, Inc.
|
# Copyright (c) 2010 The NetBSD Foundation, Inc.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -119,7 +119,9 @@ sigsafe()
|
||||||
export RUMP_SERVER=unix://commsock
|
export RUMP_SERVER=unix://commsock
|
||||||
export RUMP_STDOUT="$(pwd)/stdout"
|
export RUMP_STDOUT="$(pwd)/stdout"
|
||||||
export RUMP_STDERR="$(pwd)/stderr"
|
export RUMP_STDERR="$(pwd)/stderr"
|
||||||
atf_check -s exit:0 rump_server ${RUMP_SERVER}
|
atf_check -s exit:0 rump_server -v ${RUMP_SERVER}
|
||||||
|
cat stdout
|
||||||
|
cat stderr >&2
|
||||||
atf_check -s exit:0 sh -c "$RUN_CLIENT" -- \
|
atf_check -s exit:0 sh -c "$RUN_CLIENT" -- \
|
||||||
"$(atf_get_srcdir)"/h_client/h_sigcli
|
"$(atf_get_srcdir)"/h_client/h_sigcli
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue