Module Name: src Committed By: pooka Date: Thu Nov 11 16:03:55 UTC 2010
Modified Files: src/tests/fs/vfs: t_io.c Log Message: use atf interfaces for error reportage To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/fs/vfs/t_io.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/vfs/t_io.c diff -u src/tests/fs/vfs/t_io.c:1.1 src/tests/fs/vfs/t_io.c:1.2 --- src/tests/fs/vfs/t_io.c:1.1 Thu Aug 19 02:36:02 2010 +++ src/tests/fs/vfs/t_io.c Thu Nov 11 16:03:55 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: t_io.c,v 1.1 2010/08/19 02:36:02 pooka Exp $ */ +/* $NetBSD: t_io.c,v 1.2 2010/11/11 16:03:55 pooka Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -67,8 +67,7 @@ memset(b3, 0, therange); memset(b3 + getpagesize() - 1, 'B', 2); - if (memcmp(b2, b3, therange) != 0) - abort(); + ATF_REQUIRE_EQ(memcmp(b2, b3, therange), 0); rump_sys_close(fd); rump_sys_chdir("/");