Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/route Fix test names
details: https://anonhg.NetBSD.org/src/rev/e83492ea639f
branches: trunk
changeset: 346341:e83492ea639f
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Fri Jul 08 08:27:07 2016 +0000
description:
Fix test names
diffstat:
tests/net/route/t_flags.sh | 34 +++++++++++++++++-----------------
tests/net/route/t_flags6.sh | 30 +++++++++++++++---------------
2 files changed, 32 insertions(+), 32 deletions(-)
diffs (193 lines):
diff -r b880baa318c2 -r e83492ea639f tests/net/route/t_flags.sh
--- a/tests/net/route/t_flags.sh Fri Jul 08 06:45:34 2016 +0000
+++ b/tests/net/route/t_flags.sh Fri Jul 08 08:27:07 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_flags.sh,v 1.9 2016/06/21 05:04:16 ozaki-r Exp $
+# $NetBSD: t_flags.sh,v 1.10 2016/07/08 08:27:07 ozaki-r Exp $
#
# Copyright (c) 2015 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -123,7 +123,7 @@
"rump.netstat -rn -f inet | grep ^'$ip'"
}
-test_lo6()
+test_lo()
{
export RUMP_SERVER=$SOCK_LOCAL
@@ -132,7 +132,7 @@
check_entry_flags 127.0.0.1 UHl
}
-test_connected6()
+test_connected()
{
export RUMP_SERVER=$SOCK_LOCAL
@@ -144,7 +144,7 @@
check_entry_flags 10.0.0/24 UC
}
-test_default_gateway6()
+test_default_gateway()
{
export RUMP_SERVER=$SOCK_LOCAL
@@ -156,7 +156,7 @@
check_entry_flags default UGS
}
-test_static6()
+test_static()
{
export RUMP_SERVER=$SOCK_LOCAL
@@ -176,7 +176,7 @@
check_entry_flags 10.0.2/24 UGS
}
-test_blackhole6()
+test_blackhole()
{
export RUMP_SERVER=$SOCK_LOCAL
@@ -202,7 +202,7 @@
check_entry_fail 10.0.0.1 UH
}
-test_reject6()
+test_reject()
{
export RUMP_SERVER=$SOCK_LOCAL
@@ -261,7 +261,7 @@
return 0
}
-test_icmp_redirect6()
+test_icmp_redirect()
{
### Testing Dynamic flag ###
@@ -320,7 +320,7 @@
teardown_gw
}
-test_announce6()
+test_announce()
{
export RUMP_SERVER=$SOCK_LOCAL
@@ -368,12 +368,12 @@
atf_init_test_cases()
{
- add_test lo6 "Tests route flags: loop back interface"
- add_test connected6 "Tests route flags: connected route"
- add_test default_gateway6 "Tests route flags: default gateway"
- add_test static6 "Tests route flags: static route"
- add_test blackhole6 "Tests route flags: blackhole route"
- add_test reject6 "Tests route flags: reject route"
- add_test icmp_redirect6 "Tests route flags: icmp redirect"
- add_test announce6 "Tests route flags: announce flag"
+ add_test lo "Tests route flags: loop back interface"
+ add_test connected "Tests route flags: connected route"
+ add_test default_gateway "Tests route flags: default gateway"
+ add_test static "Tests route flags: static route"
+ add_test blackhole "Tests route flags: blackhole route"
+ add_test reject "Tests route flags: reject route"
+ add_test icmp_redirect "Tests route flags: icmp redirect"
+ add_test announce "Tests route flags: announce flag"
}
diff -r b880baa318c2 -r e83492ea639f tests/net/route/t_flags6.sh
--- a/tests/net/route/t_flags6.sh Fri Jul 08 06:45:34 2016 +0000
+++ b/tests/net/route/t_flags6.sh Fri Jul 08 08:27:07 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_flags6.sh,v 1.5 2016/04/23 15:47:54 ozaki-r Exp $
+# $NetBSD: t_flags6.sh,v 1.6 2016/07/08 08:27:07 ozaki-r Exp $
#
# Copyright (c) 2016 Internet Initiative Japan Inc.
# All rights reserved.
@@ -95,7 +95,7 @@
"rump.netstat -rn -f inet6 | grep ^'$ip'"
}
-test_lo()
+test_lo6()
{
export RUMP_SERVER=$SOCK_LOCAL
@@ -107,7 +107,7 @@
check_entry_flags ::1 UH
}
-test_connected()
+test_connected6()
{
export RUMP_SERVER=$SOCK_LOCAL
@@ -119,7 +119,7 @@
check_entry_flags fc00::/64 UC
}
-test_default_gateway()
+test_default_gateway6()
{
export RUMP_SERVER=$SOCK_LOCAL
@@ -131,7 +131,7 @@
check_entry_flags default UGS
}
-test_static()
+test_static6()
{
export RUMP_SERVER=$SOCK_LOCAL
@@ -153,7 +153,7 @@
check_entry_flags fc00::/24 UGS
}
-test_blackhole()
+test_blackhole6()
{
export RUMP_SERVER=$SOCK_LOCAL
@@ -180,7 +180,7 @@
check_entry_fail $IP6_PEER UH
}
-test_reject()
+test_reject6()
{
export RUMP_SERVER=$SOCK_LOCAL
@@ -243,7 +243,7 @@
return 0
}
-test_announce()
+test_announce6()
{
export RUMP_SERVER=$SOCK_LOCAL
@@ -293,11 +293,11 @@
atf_init_test_cases()
{
- add_test lo "Tests route flags: loop back interface"
- add_test connected "Tests route flags: connected route"
- add_test default_gateway "Tests route flags: default gateway"
- add_test static "Tests route flags: static route"
- add_test blackhole "Tests route flags: blackhole route"
- add_test reject "Tests route flags: reject route"
- add_test announce "Tests route flags: announce flag"
+ add_test lo6 "Tests route flags: loop back interface"
+ add_test connected6 "Tests route flags: connected route"
+ add_test default_gateway6 "Tests route flags: default gateway"
+ add_test static6 "Tests route flags: static route"
+ add_test blackhole6 "Tests route flags: blackhole route"
+ add_test reject6 "Tests route flags: reject route"
+ add_test announce6 "Tests route flags: announce flag"
}
Home |
Main Index |
Thread Index |
Old Index