Module Name: src
Committed By: pooka
Date: Mon Aug 9 19:36:30 UTC 2010
Modified Files:
src/tests/fs/ffs: t_mount.c
Log Message:
add comment saying why the other test doesn't use fstest
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tests/fs/ffs/t_mount.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_mount.c
diff -u src/tests/fs/ffs/t_mount.c:1.9 src/tests/fs/ffs/t_mount.c:1.10
--- src/tests/fs/ffs/t_mount.c:1.9 Mon Aug 9 19:34:59 2010
+++ src/tests/fs/ffs/t_mount.c Mon Aug 9 19:36:30 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: t_mount.c,v 1.9 2010/08/09 19:34:59 pooka Exp $ */
+/* $NetBSD: t_mount.c,v 1.10 2010/08/09 19:36:30 pooka Exp $ */
/*
* Basic tests for mounting
@@ -65,6 +65,10 @@
struct ufs_args args;
struct statvfs svb;
+ /*
+ * We cannot pass newfs parameters via the fstest interface,
+ * so do things the oldfashioned manual way.
+ */
snprintf(cmd, sizeof(cmd), "newfs -G -b %d -F -s 10000 "
"ffs.img > /dev/null", MYBLOCKSIZE);
if (system(cmd))