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 Update the error message in t_vlan (ENXIO ...
details:   https://anonhg.NetBSD.org/src/rev/54416236de66
branches:  trunk
changeset: 319861:54416236de66
user:      yamaguchi <yamaguchi%NetBSD.org@localhost>
date:      Thu Jun 14 08:38:24 2018 +0000
description:
Update the error message in t_vlan (ENXIO => EINVAL)
ok ozaki-r@
diffstat:
 tests/net/if_vlan/t_vlan.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 72cb4ca4034d -r 54416236de66 tests/net/if_vlan/t_vlan.sh
--- a/tests/net/if_vlan/t_vlan.sh       Thu Jun 14 08:33:18 2018 +0000
+++ b/tests/net/if_vlan/t_vlan.sh       Thu Jun 14 08:38:24 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_vlan.sh,v 1.10 2018/06/14 08:22:52 yamaguchi Exp $
+#      $NetBSD: t_vlan.sh,v 1.11 2018/06/14 08:38:24 yamaguchi Exp $
 #
 # Copyright (c) 2016 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -655,7 +655,7 @@
        atf_check -s exit:0 $HIJACKING $siocXmulti del vlan0 $mcaddr
 
        # delete the address with invalid interface
-       atf_check -s not-exit:0 -e match:"Device not configured" \
+       atf_check -s not-exit:0 -e match:"Invalid argument" \
            $HIJACKING $siocXmulti del vlan0 $mcaddr
 
        atf_check -s exit:0 $HIJACKING $siocXmulti del vlan1 $mcaddr
Home |
Main Index |
Thread Index |
Old Index