Module Name: src
Committed By: jruoho
Date: Thu Jun 25 16:57:00 UTC 2020
Modified Files:
src/tests/sbin/ifconfig: t_tap.sh
Log Message:
Instead of UINT_MAX + 2, test what is claimed.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/sbin/ifconfig/t_tap.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/sbin/ifconfig/t_tap.sh
diff -u src/tests/sbin/ifconfig/t_tap.sh:1.3 src/tests/sbin/ifconfig/t_tap.sh:1.4
--- src/tests/sbin/ifconfig/t_tap.sh:1.3 Thu Jun 25 16:52:49 2020
+++ src/tests/sbin/ifconfig/t_tap.sh Thu Jun 25 16:57:00 2020
@@ -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_head() {
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
}