Module Name: src Committed By: martin Date: Thu Aug 22 19:20:29 UTC 2024
Modified Files: src/tests/net [netbsd-10]: net_common.sh Log Message: Pull up following revision(s) (requested by rin in ticket #781): tests/net/net_common.sh: revision 1.45 tests/net_common.sh: Halt rump servers only if already started Do not cat(1) missing ${_rump_server_socks}, in case where a test should be skipped before starting any rump server. NFC otherwise; if ${_rump_server_socks} is absent, `rump_server_halt` can nothing anyway, unfortunately. Thanks ozaki-r@ for discussion. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.44.2.1 src/tests/net/net_common.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/net/net_common.sh diff -u src/tests/net/net_common.sh:1.44 src/tests/net/net_common.sh:1.44.2.1 --- src/tests/net/net_common.sh:1.44 Wed Nov 2 09:35:12 2022 +++ src/tests/net/net_common.sh Thu Aug 22 19:20:29 2024 @@ -1,4 +1,4 @@ -# $NetBSD: net_common.sh,v 1.44 2022/11/02 09:35:12 ozaki-r Exp $ +# $NetBSD: net_common.sh,v 1.44.2.1 2024/08/22 19:20:29 martin Exp $ # # Copyright (c) 2016 Internet Initiative Japan Inc. # All rights reserved. @@ -527,7 +527,9 @@ rump_server_dump_buses() cleanup() { - rump_server_halt_servers + if [ -f $_rump_server_socks ]; then + rump_server_halt_servers + fi } dump()