Tue May 25 00:38:30 2021 UTC ()
Added missing cleanup option

Fixes PR/56206


(yamaguchi)
diff -r1.1 -r1.2 src/tests/net/if_lagg/t_lagg.sh

cvs diff -r1.1 -r1.2 src/tests/net/if_lagg/t_lagg.sh (expand / switch to unified diff)

--- src/tests/net/if_lagg/t_lagg.sh 2021/05/17 04:07:44 1.1
+++ src/tests/net/if_lagg/t_lagg.sh 2021/05/25 00:38:30 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: t_lagg.sh,v 1.1 2021/05/17 04:07:44 yamaguchi Exp $ 1# $NetBSD: t_lagg.sh,v 1.2 2021/05/25 00:38:30 yamaguchi Exp $
2# 2#
3# Copyright (c) 2021 Internet Initiative Japan Inc. 3# Copyright (c) 2021 Internet Initiative Japan Inc.
4# All rights reserved. 4# All rights reserved.
5# 5#
6# Redistribution and use in source and binary forms, with or without 6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions 7# modification, are permitted provided that the following conditions
8# are met: 8# are met:
9# 1. Redistributions of source code must retain the above copyright 9# 1. Redistributions of source code must retain the above copyright
10# notice, this list of conditions and the following disclaimer. 10# notice, this list of conditions and the following disclaimer.
11# 2. Redistributions in binary form must reproduce the above copyright 11# 2. Redistributions in binary form must reproduce the above copyright
12# notice, this list of conditions and the following disclaimer in the 12# notice, this list of conditions and the following disclaimer in the
13# documentation and/or other materials provided with the distribution. 13# documentation and/or other materials provided with the distribution.
14# 14#
@@ -490,27 +490,27 @@ lagg_lacp_ipv4_head() @@ -490,27 +490,27 @@ lagg_lacp_ipv4_head()
490lagg_lacp_ipv4_body() 490lagg_lacp_ipv4_body()
491{ 491{
492 492
493 lagg_lacp_ping "inet" 493 lagg_lacp_ping "inet"
494} 494}
495 495
496lagg_lacp_ipv4_cleanup() 496lagg_lacp_ipv4_cleanup()
497{ 497{
498 498
499 $DEBUG && dump 499 $DEBUG && dump
500 cleanup 500 cleanup
501} 501}
502 502
503atf_test_case lagg_lacp_ipv6 503atf_test_case lagg_lacp_ipv6 cleanup
504lagg_lacp_ipv6_head() 504lagg_lacp_ipv6_head()
505{ 505{
506 506
507 atf_set "descr" "tests for IPv6 with LACP" 507 atf_set "descr" "tests for IPv6 with LACP"
508 atf_set "require.progs" "rump_server" 508 atf_set "require.progs" "rump_server"
509} 509}
510 510
511lagg_lacp_ipv6_body() 511lagg_lacp_ipv6_body()
512{ 512{
513 513
514 lagg_lacp_ping "inet6" 514 lagg_lacp_ping "inet6"
515} 515}
516 516