git: 08851be187ba - main - ndp tests: fix cleanup

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Mon, 13 Dec 2021 18:15:48 UTC
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=08851be187baa867dbccf424b9560934074a50f1

commit 08851be187baa867dbccf424b9560934074a50f1
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-12-13 17:13:42 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-12-13 17:14:59 +0000

    ndp tests: fix cleanup
    
    Fix the cleanup function name so we actually remove our test jail and
    interfaces.
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 tests/sys/netinet6/ndp.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/sys/netinet6/ndp.sh b/tests/sys/netinet6/ndp.sh
index 2b26ffd4c448..aa950d03518f 100755
--- a/tests/sys/netinet6/ndp.sh
+++ b/tests/sys/netinet6/ndp.sh
@@ -99,7 +99,7 @@ ndp_del_gu_success_body() {
 	atf_check -o match:"2001:db8::2 \(2001:db8::2\) deleted" jexec ${jname} ndp -nd 2001:db8::2
 }
 
-ndp_del_success_cleanup() {
+ndp_del_gu_success_cleanup() {
 	vnet_cleanup
 }