Mon Aug 19 03:20:28 2019 UTC ()
tests: fix test header name


(ozaki-r)
diff -r1.34 -r1.35 src/tests/net/ndp/t_ndp.sh

cvs diff -r1.34 -r1.35 src/tests/net/ndp/t_ndp.sh (expand / switch to unified diff)

--- src/tests/net/ndp/t_ndp.sh 2019/08/13 07:20:43 1.34
+++ src/tests/net/ndp/t_ndp.sh 2019/08/19 03:20:27 1.35
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: t_ndp.sh,v 1.34 2019/08/13 07:20:43 ozaki-r Exp $ 1# $NetBSD: t_ndp.sh,v 1.35 2019/08/19 03:20:27 ozaki-r Exp $
2# 2#
3# Copyright (c) 2015 The NetBSD Foundation, Inc. 3# Copyright (c) 2015 The NetBSD Foundation, 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#
@@ -677,27 +677,27 @@ ndp_stray_entries_body() @@ -677,27 +677,27 @@ ndp_stray_entries_body()
677 atf_check -s not-exit:0 -o ignore -e match:'no entry' rump.ndp -n $IP6DST 677 atf_check -s not-exit:0 -o ignore -e match:'no entry' rump.ndp -n $IP6DST
678 678
679 rump_server_destroy_ifaces 679 rump_server_destroy_ifaces
680} 680}
681 681
682ndp_stray_entries_cleanup() 682ndp_stray_entries_cleanup()
683{ 683{
684 684
685 $DEBUG && dump 685 $DEBUG && dump
686 cleanup 686 cleanup
687} 687}
688 688
689atf_test_case ndp_cache_state cleanup 689atf_test_case ndp_cache_state cleanup
690ndp_stray_entries_head() 690ndp_cache_state_head()
691{ 691{
692 692
693 atf_set "descr" "Tests states of neighbor cache entries" 693 atf_set "descr" "Tests states of neighbor cache entries"
694 atf_set "require.progs" "rump_server" 694 atf_set "require.progs" "rump_server"
695} 695}
696 696
697check_cache_state() 697check_cache_state()
698{ 698{
699 local dst=$1 699 local dst=$1
700 local state=$2 700 local state=$2
701 701
702 $DEBUG && rump.ndp -n $dst 702 $DEBUG && rump.ndp -n $dst
703 atf_check -s exit:0 -o match:"^$dst.*$state " rump.ndp -n $dst 703 atf_check -s exit:0 -o match:"^$dst.*$state " rump.ndp -n $dst