Source-Changes-HG archive

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

[src/trunk]: src/tests/sbin/ifconfig Require root privileges.



details:   https://anonhg.NetBSD.org/src/rev/95377574f2c9
branches:  trunk
changeset: 1011290:95377574f2c9
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Thu Jun 25 10:34:34 2020 +0000

description:
Require root privileges.

diffstat:

 tests/sbin/ifconfig/t_repeated_scan.sh |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r aef1793bca3f -r 95377574f2c9 tests/sbin/ifconfig/t_repeated_scan.sh
--- a/tests/sbin/ifconfig/t_repeated_scan.sh    Thu Jun 25 09:58:44 2020 +0000
+++ b/tests/sbin/ifconfig/t_repeated_scan.sh    Thu Jun 25 10:34:34 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_repeated_scan.sh,v 1.2 2020/06/24 10:07:13 jruoho Exp $
+# $NetBSD: t_repeated_scan.sh,v 1.3 2020/06/25 10:34:34 jruoho Exp $
 #
 # Copyright (c) 2020 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -29,6 +29,7 @@
 
 atf_test_case repeated_scan
 repeated_scan_head() {
+       atf_set "require.user" "root"
        atf_set "descr" "Test with ifconfig(8) that repeated 802.11 " \
                "scanning does not cause a panic (PR kern/55389)"
 }



Home | Main Index | Thread Index | Old Index