Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/sbin/ifconfig Instead of UINT_MAX + 2, test what is cl...
details: https://anonhg.NetBSD.org/src/rev/a88f63654b47
branches: trunk
changeset: 935145:a88f63654b47
user: jruoho <jruoho%NetBSD.org@localhost>
date: Thu Jun 25 16:57:00 2020 +0000
description:
Instead of UINT_MAX + 2, test what is claimed.
diffstat:
tests/sbin/ifconfig/t_tap.sh | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r c937b8bf032f -r a88f63654b47 tests/sbin/ifconfig/t_tap.sh
--- a/tests/sbin/ifconfig/t_tap.sh Thu Jun 25 16:52:49 2020 +0000
+++ b/tests/sbin/ifconfig/t_tap.sh Thu Jun 25 16:57:00 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_tap.sh,v 1.3 2020/06/25 16:52:49 jruoho Exp $
+# $NetBSD: t_tap.sh,v 1.4 2020/06/25 16:57:00 jruoho Exp $
#
# Copyright (c) 2020 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -83,15 +83,15 @@
overflow_body() {
atf_skip "The test causes a panic (PR kern/53546)"
- ifconfig tap65537 create
+ ifconfig tap99999 create
}
overflow_cleanup() {
- ifconfig tap65537 create
+ ifconfig tap99999
if [ $? -eq 0 ]; then
- ifconfig tap65537 destroy
+ ifconfig tap99999 destroy
fi
}
Home |
Main Index |
Thread Index |
Old Index