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 let ATF detect a bug fixed by if_vla.c:r1....



details:   https://anonhg.NetBSD.org/src/rev/c327d33bf31b
branches:  trunk
changeset: 445829:c327d33bf31b
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Wed Nov 14 05:07:48 2018 +0000

description:
let ATF detect a bug fixed by if_vla.c:r1.132.

diffstat:

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

diffs (19 lines):

diff -r 97c65bde3b59 -r c327d33bf31b tests/net/if_vlan/t_vlan.sh
--- a/tests/net/if_vlan/t_vlan.sh       Wed Nov 14 03:41:20 2018 +0000
+++ b/tests/net/if_vlan/t_vlan.sh       Wed Nov 14 05:07:48 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_vlan.sh,v 1.11 2018/06/14 08:38:24 yamaguchi Exp $
+#      $NetBSD: t_vlan.sh,v 1.12 2018/11/14 05:07:48 knakahara Exp $
 #
 # Copyright (c) 2016 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -449,6 +449,9 @@
 
        atf_check -s exit:0 rump.ifconfig shmif0 create
        atf_check -s exit:0 rump.ifconfig shmif1 create
+       # unset U/L bit to detect a bug fixed by if_vlan.c:r1.132
+       atf_check -s exit:0 rump.ifconfig shmif0 link b0:a0:75:00:01:00 active
+       atf_check -s exit:0 rump.ifconfig shmif1 link b0:a0:75:00:01:01 active
        atf_check -s exit:0 rump.ifconfig vlan0 create
 
        atf_check -s exit:0 rump.ifconfig vlan0 vlan 10 vlanif shmif0



Home | Main Index | Thread Index | Old Index