Module Name: src
Committed By: pooka
Date: Tue Jan 4 16:25:20 UTC 2011
Modified Files:
src/tests/fs/tmpfs: t_renamerace.c
Log Message:
Remove arch check now that rump smp is available on all host archs.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/fs/tmpfs/t_renamerace.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/tmpfs/t_renamerace.c
diff -u src/tests/fs/tmpfs/t_renamerace.c:1.10 src/tests/fs/tmpfs/t_renamerace.c:1.11
--- src/tests/fs/tmpfs/t_renamerace.c:1.10 Sun Jan 2 12:58:17 2011
+++ src/tests/fs/tmpfs/t_renamerace.c Tue Jan 4 16:25:20 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_renamerace.c,v 1.10 2011/01/02 12:58:17 pooka Exp $ */
+/* $NetBSD: t_renamerace.c,v 1.11 2011/01/04 16:25:20 pooka Exp $ */
/*
* Modified for rump and atf from a program supplied
@@ -80,16 +80,6 @@
pthread_t pt[2];
/*
- * Check that we are running on an SMP-capable arch. It should
- * be a rump capability, but after the CPU_INFO_FOREACH is
- * fixed, it will be every arch (for rump), so don't bother.
- */
- if (uname(&un) == -1)
- atf_tc_fail_errno("uname");
- if (strcmp(un.machine, "i386") != 0 && strcmp(un.machine, "amd64") != 0)
- atf_tc_skip("i386 or amd64 required (have %s)", un.machine);
-
- /*
* Force SMP regardless of how many host CPUs there are.
* Deadlock is highly unlikely to trigger otherwise.
*/