Source-Changes-HG archive

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

[src/trunk]: src/tests/sbin/fsck_ffs vnconfig is used in this tests, so requi...



details:   https://anonhg.NetBSD.org/src/rev/fe3e642ae16a
branches:  trunk
changeset: 372395:fe3e642ae16a
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Nov 21 19:07:36 2022 +0000

description:
vnconfig is used in this tests, so require user root.

diffstat:

 tests/sbin/fsck_ffs/t_extattr.sh |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r aa902ac1e5fb -r fe3e642ae16a tests/sbin/fsck_ffs/t_extattr.sh
--- a/tests/sbin/fsck_ffs/t_extattr.sh  Mon Nov 21 16:22:37 2022 +0000
+++ b/tests/sbin/fsck_ffs/t_extattr.sh  Mon Nov 21 19:07:36 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_extattr.sh,v 1.1 2022/11/17 06:40:40 chs Exp $
+# $NetBSD: t_extattr.sh,v 1.2 2022/11/21 19:07:36 martin Exp $
 #
 #  Copyright (c) 2021 The NetBSD Foundation, Inc.
 #  All rights reserved.
@@ -45,6 +45,7 @@
 fsck_extattr_enable_head()
 {
        atf_set "descr" "Checks fsck_ffs enabling extattrs"
+       atf_set "require.user" "root";
 }
 
 fsck_extattr_enable_body()
@@ -85,6 +86,7 @@
 fsck_extattr_enable_corrupted_head()
 {
        atf_set "descr" "Checks fsck_ffs enabling extattrs with corruption"
+       atf_set "require.user" "root";
 }
 
 fsck_extattr_enable_corrupted_body()
@@ -142,6 +144,7 @@
 fsck_extattr_disable_head()
 {
        atf_set "descr" "Checks fsck_ffs disabling extattrs"
+       atf_set "require.user" "root";
 }
 
 fsck_extattr_disable_body()



Home | Main Index | Thread Index | Old Index