Module Name:    src
Committed By:   riastradh
Date:           Tue Mar 24 23:22:47 UTC 2015

Modified Files:
        src/tests/fs/common: h_fsmacros.h

Log Message:
zfs tests don't actually need privileges.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/tests/fs/common/h_fsmacros.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/fs/common/h_fsmacros.h
diff -u src/tests/fs/common/h_fsmacros.h:1.38 src/tests/fs/common/h_fsmacros.h:1.39
--- src/tests/fs/common/h_fsmacros.h:1.38	Wed Jun 26 19:29:24 2013
+++ src/tests/fs/common/h_fsmacros.h	Tue Mar 24 23:22:47 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: h_fsmacros.h,v 1.38 2013/06/26 19:29:24 reinoud Exp $	*/
+/*	$NetBSD: h_fsmacros.h,v 1.39 2015/03/24 23:22:47 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -110,10 +110,6 @@ do {									\
 		atf_tc_set_md_var(tc, "descr", type " test for " desc);	\
 		atf_tc_set_md_var(tc, "X-fs.type", #fs);		\
 		atf_tc_set_md_var(tc, "X-fs.mntname", type);		\
-		if (strcmp(#fs, "zfs") == 0) {				\
-			/* This should not be necessary. */		\
-			atf_tc_set_md_var(tc, "require.user", "root");	\
-		}							\
 	}								\
 	void *fs##func##tmp;						\
 									\
@@ -136,10 +132,6 @@ do {									\
 		atf_tc_set_md_var(tc, "descr",_type_" test for "_desc_);\
 		atf_tc_set_md_var(tc, "X-fs.type", #_fs_);		\
 		atf_tc_set_md_var(tc, "X-fs.mntname", _type_);		\
-		if (strcmp(#_fs_, "zfs") == 0) {			\
-			/* This should not be necessary. */		\
-			atf_tc_set_md_var(tc, "require.user", "root");	\
-		}							\
 	}								\
 	void *_fs_##_func_##tmp;					\
 									\

Reply via email to