Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/bouyer-quota2]: src/tests/fs/ffs Use 80000 for gid offset instead of 600...
details: https://anonhg.NetBSD.org/src/rev/bd2fd3a0f94a
branches: bouyer-quota2
changeset: 761091:bd2fd3a0f94a
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sun Jan 30 14:28:33 2011 +0000
description:
Use 80000 for gid offset instead of 60000, just in case ...
diffstat:
tests/fs/ffs/t_quota2_1.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 84e61f082fb1 -r bd2fd3a0f94a tests/fs/ffs/t_quota2_1.c
--- a/tests/fs/ffs/t_quota2_1.c Sun Jan 30 14:26:31 2011 +0000
+++ b/tests/fs/ffs/t_quota2_1.c Sun Jan 30 14:28:33 2011 +0000
@@ -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();
Home |
Main Index |
Thread Index |
Old Index