From 150dd5f860a5f22a8c3bcc1bf3a1f2e36dcf6fd8 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 24 Feb 2015 16:58:33 +0100 Subject: Change VFS a bit : the root directory of a fs is now a pointer. Fix tests. --- src/tests/utests/fs1/test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tests/utests/fs1/test.c') diff --git a/src/tests/utests/fs1/test.c b/src/tests/utests/fs1/test.c index 247373d..7d6afd6 100644 --- a/src/tests/utests/fs1/test.c +++ b/src/tests/utests/fs1/test.c @@ -8,8 +8,9 @@ int main(int argc, char **argv) { dbg_print("Hello, world! from user process.\n"); - fd_t f = open("dev:/", FM_READDIR); + fd_t f = open("io:/", FM_READDIR); dbg_printf("openned /: %d\n", f); + ASSERT(f != 0); dirent_t x; while (readdir(f, &x)) { dbg_printf("- '%s' %p %d\n", x.name, x.st.type, x.st.size); -- cgit v1.2.3