Module Name:    src
Committed By:   perseant
Date:           Sun Sep  8 04:09:41 UTC 2024

Modified Files:
        src/tests/fs/common [perseant-exfatfs]: fstest_exfatfs.c

Log Message:
Test with a non-zero dirmask, so the fs/vfs/t_unpriv tests don't fail
prematurely with EACCES.  (They should error out with EPERM instead.)


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/tests/fs/common/fstest_exfatfs.c

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/fstest_exfatfs.c
diff -u src/tests/fs/common/fstest_exfatfs.c:1.1.2.2 src/tests/fs/common/fstest_exfatfs.c:1.1.2.3
--- src/tests/fs/common/fstest_exfatfs.c:1.1.2.2	Wed Aug 14 15:31:27 2024
+++ src/tests/fs/common/fstest_exfatfs.c	Sun Sep  8 04:09:41 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: fstest_exfatfs.c,v 1.1.2.2 2024/08/14 15:31:27 perseant Exp $	*/
+/*	$NetBSD: fstest_exfatfs.c,v 1.1.2.3 2024/09/08 04:09:41 perseant Exp $	*/
 
 /*-
  * Copyright (c) 2010, 2024 The NetBSD Foundation, Inc.
@@ -80,6 +80,7 @@ exfatfs_fstest_newfs(const atf_tc_t *tc,
 	snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
 	args->ta_uargs.fspec = args->ta_devpath;
 	args->ta_uargs.mask = 0755;
+	args->ta_uargs.dirmask = 0755;
 
 	res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK);
 	if (res != 0) {

Reply via email to