Fri Jan 7 11:58:22 2011 UTC ()
antipasto


(pooka)
diff -r1.28 -r1.29 src/tests/fs/common/h_fsmacros.h

cvs diff -r1.28 -r1.29 src/tests/fs/common/h_fsmacros.h (expand / switch to unified diff)

--- src/tests/fs/common/h_fsmacros.h 2011/01/07 11:52:59 1.28
+++ src/tests/fs/common/h_fsmacros.h 2011/01/07 11:58:21 1.29
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: h_fsmacros.h,v 1.28 2011/01/07 11:52:59 pooka Exp $ */ 1/* $NetBSD: h_fsmacros.h,v 1.29 2011/01/07 11:58:21 pooka Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 2010 The NetBSD Foundation, Inc. 4 * Copyright (c) 2010 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Nicolas Joly. 8 * by Nicolas Joly.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -239,27 +239,27 @@ atf_check_fstype(const atf_tc_t *tc, con @@ -239,27 +239,27 @@ atf_check_fstype(const atf_tc_t *tc, con
239 return true; 239 return true;
240 240
241 fstype = atf_tc_get_config_var(tc, "fstype"); 241 fstype = atf_tc_get_config_var(tc, "fstype");
242 if (strcmp(fstype, fs) == 0) 242 if (strcmp(fstype, fs) == 0)
243 return true; 243 return true;
244 return false; 244 return false;
245} 245}
246 246
247#define FSTYPE_EXT2FS(tc)\ 247#define FSTYPE_EXT2FS(tc)\
248 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "ext2fs") == 0) 248 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "ext2fs") == 0)
249#define FSTYPE_FFS(tc)\ 249#define FSTYPE_FFS(tc)\
250 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "ffs") == 0) 250 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "ffs") == 0)
251#define FSTYPE_FFSLOG(tc)\ 251#define FSTYPE_FFSLOG(tc)\
252 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "ffs") == 0) 252 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "ffslog") == 0)
253#define FSTYPE_LFS(tc)\ 253#define FSTYPE_LFS(tc)\
254 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "lfs") == 0) 254 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "lfs") == 0)
255#define FSTYPE_MSDOS(tc)\ 255#define FSTYPE_MSDOS(tc)\
256 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "msdosfs") == 0) 256 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "msdosfs") == 0)
257#define FSTYPE_NFS(tc)\ 257#define FSTYPE_NFS(tc)\
258 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "nfs") == 0) 258 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "nfs") == 0)
259#define FSTYPE_NFSRO(tc)\ 259#define FSTYPE_NFSRO(tc)\
260 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "nfsro") == 0) 260 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "nfsro") == 0)
261#define FSTYPE_P2K_FFS(tc)\ 261#define FSTYPE_P2K_FFS(tc)\
262 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "p2k_ffs") == 0) 262 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "p2k_ffs") == 0)
263#define FSTYPE_PUFFS(tc)\ 263#define FSTYPE_PUFFS(tc)\
264 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "puffs") == 0) 264 (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), "puffs") == 0)
265#define FSTYPE_RUMPFS(tc)\ 265#define FSTYPE_RUMPFS(tc)\