Source-Changes-HG archive

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

[src/trunk]: src/tests/fs/common allow overriding of defaults



details:   https://anonhg.NetBSD.org/src/rev/bffaa72d967a
branches:  trunk
changeset: 756994:bffaa72d967a
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Aug 09 19:32:26 2010 +0000

description:
allow overriding of defaults

diffstat:

 tests/fs/common/h_fsmacros.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 315341e67dee -r bffaa72d967a tests/fs/common/h_fsmacros.h
--- a/tests/fs/common/h_fsmacros.h      Mon Aug 09 17:42:26 2010 +0000
+++ b/tests/fs/common/h_fsmacros.h      Mon Aug 09 19:32:26 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: h_fsmacros.h,v 1.17 2010/07/30 16:15:05 pooka Exp $    */
+/*     $NetBSD: h_fsmacros.h,v 1.18 2010/08/09 19:32:26 pooka Exp $    */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -54,9 +54,15 @@
 FSPROTOS(sysvbfs);
 FSPROTOS(tmpfs);
 
+#ifndef FSTEST_IMGNAME
 #define FSTEST_IMGNAME "image.fs"
+#endif
+#ifndef FSTEST_IMGSIZE
 #define FSTEST_IMGSIZE (10000 * 512)
+#endif
+#ifndef FSTEST_MNTNAME
 #define FSTEST_MNTNAME "/mnt"
+#endif
 
 #define FSTEST_CONSTRUCTOR(_tc_, _fs_, _args_)                         \
 do {                                                                   \



Home | Main Index | Thread Index | Old Index