Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/net/if_vlan Don't attempt to test vlan tags 0 or 4095, ...



details:   https://anonhg.NetBSD.org/src/rev/14e2634653e2
branches:  trunk
changeset: 828022:14e2634653e2
user:      kre <kre%NetBSD.org@localhost>
date:      Thu Nov 23 04:12:36 2017 +0000

description:
Don't attempt to test vlan tags 0 or 4095, which are now rejected
as invalid (perhaps someone could add a test to verify that they
continue to be rejected?)

diffstat:

 tests/net/if_vlan/t_vlan.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r eea3880588c2 -r 14e2634653e2 tests/net/if_vlan/t_vlan.sh
--- a/tests/net/if_vlan/t_vlan.sh       Thu Nov 23 02:40:01 2017 +0000
+++ b/tests/net/if_vlan/t_vlan.sh       Thu Nov 23 04:12:36 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_vlan.sh,v 1.5 2017/11/16 06:31:00 msaitoh Exp $
+#      $NetBSD: t_vlan.sh,v 1.6 2017/11/23 04:12:36 kre Exp $
 #
 # Copyright (c) 2016 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -332,10 +332,10 @@
        atf_check -s not-exit:0 -e ignore\
            rump.ifconfig vlan0 vlan -1 vlanif shmif0
 
-       $config_and_ping 0 # reserved vlan id
+       # $config_and_ping 0 # reserved vlan id
        $config_and_ping 1
        $config_and_ping 4094
-       $config_and_ping 4095 #reserved vlan id
+       # $config_and_ping 4095 #reserved vlan id
 
        export RUMP_SERVER=$SOCK_LOCAL
        atf_check -s not-exit:0 -e ignore \



Home | Main Index | Thread Index | Old Index