Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/fs/ffs add comment saying why the other test doesn't u...



details:   https://anonhg.NetBSD.org/src/rev/1b14e2456ad8
branches:  trunk
changeset: 756996:1b14e2456ad8
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Aug 09 19:36:30 2010 +0000

description:
add comment saying why the other test doesn't use fstest

diffstat:

 tests/fs/ffs/t_mount.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 055bdfe838b9 -r 1b14e2456ad8 tests/fs/ffs/t_mount.c
--- a/tests/fs/ffs/t_mount.c    Mon Aug 09 19:34:59 2010 +0000
+++ b/tests/fs/ffs/t_mount.c    Mon Aug 09 19:36:30 2010 +0000
@@ -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))



Home | Main Index | Thread Index | Old Index