Module Name:    src
Committed By:   bouyer
Date:           Sun Jan 30 14:28:34 UTC 2011

Modified Files:
        src/tests/fs/ffs [bouyer-quota2]: t_quota2_1.c

Log Message:
Use 80000 for gid offset instead of 60000, just in case ...


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/tests/fs/ffs/t_quota2_1.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/ffs/t_quota2_1.c
diff -u src/tests/fs/ffs/t_quota2_1.c:1.1.2.1 src/tests/fs/ffs/t_quota2_1.c:1.1.2.2
--- src/tests/fs/ffs/t_quota2_1.c:1.1.2.1	Thu Jan 20 14:25:04 2011
+++ src/tests/fs/ffs/t_quota2_1.c	Sun Jan 30 14:28:33 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_quota2_1.c,v 1.1.2.1 2011/01/20 14:25:04 bouyer Exp $	*/
+/*	$NetBSD: t_quota2_1.c,v 1.1.2.2 2011/01/30 14:28:33 bouyer Exp $	*/
 
 /*
  * Basic tests for quota2
@@ -47,12 +47,13 @@
 
 	atf_tc_expect_pass();
 	FSTEST_ENTER();
+	RL(rump_sys_chown(".", 0, 0));
 	for (i = 0 ; i < n; i++) {
 		sprintf(buf, "file%d", i);
 		RL(fd = rump_sys_open(buf, O_CREAT | O_RDWR, 0755));
 		sprintf(buf, "test file no %d", i);
 		RL(rump_sys_write(fd, buf, strlen(buf)));
-		RL(rump_sys_fchown(fd, i, i+60000));
+		RL(rump_sys_fchown(fd, i, i+80000));
 		rump_sys_close(fd);
 	}
 	FSTEST_EXIT();

Reply via email to