test: h2o user must be a non-root user in order to test h2o_socket_ebpf_setup()
@@ -35,9 +35,11 @@ my $quic_port = empty_port({
});
sub spawn_my_h2o {
+ my $username = getpwuid($ENV{SUDO_UID});
return spawn_h2o({
opts => [qw(--mode=worker)],
conf => << "EOT",
+user: $username
usdt-selective-tracing: ON
listen:
type: quic
