[ovs-dev] [PATCH ovn] test: Fix "ovn-nbctl - daemon retry connection" on musl

Numan Siddique numans at ovn.org
Wed Apr 15 16:45:31 UTC 2020


On Wed, Apr 15, 2020 at 8:49 PM Greg A. Smith <gasmith at nutanix.com> wrote:
>
> From: Gregory Smith <gasmith at nutanix.com>
>
> On musl libc, signal_name() returns "signal 15", not "Terminated".
>
> Fixes: 530a1c18f ("ovn-nbctl: Daemon mode should retry when IDL...")
> Signed-off-by: Gregory Smith <gasmith at nutanix.com>
> ---
>  tests/ovn-nbctl.at | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/ovn-nbctl.at b/tests/ovn-nbctl.at
> index 39189fd84..0f98c70d0 100644
> --- a/tests/ovn-nbctl.at
> +++ b/tests/ovn-nbctl.at
> @@ -1892,5 +1892,5 @@ OVN_NBCTL_TEST_START daemon
>  AT_CHECK([kill `cat ovsdb-server.pid`])
>  AT_CHECK([ovsdb-server --detach --no-chdir --pidfile --log-file --remote=punix:$OVS_RUNDIR/ovnnb_db.sock ovn-nb.db], [0], [], [stderr])
>  AT_CHECK([ovn-nbctl show], [0], [ignore])
> -OVN_NBCTL_TEST_STOP /Terminated/d
> +OVN_NBCTL_TEST_STOP "/terminating with signal 15/d"

Thanks for the patch.

I applied this patch to master.

Numan



>  AT_CLEANUP
> --
> 2.25.0
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>


More information about the dev mailing list