Source-Changes-HG archive

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

[src/trunk]: src/tests/fs/tmpfs Remove arch check now that rump smp is availa...



details:   https://anonhg.NetBSD.org/src/rev/88f14976be74
branches:  trunk
changeset: 760422:88f14976be74
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Jan 04 16:25:20 2011 +0000

description:
Remove arch check now that rump smp is available on all host archs.

diffstat:

 tests/fs/tmpfs/t_renamerace.c |  12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diffs (26 lines):

diff -r 343802a70e23 -r 88f14976be74 tests/fs/tmpfs/t_renamerace.c
--- a/tests/fs/tmpfs/t_renamerace.c     Tue Jan 04 16:23:35 2011 +0000
+++ b/tests/fs/tmpfs/t_renamerace.c     Tue Jan 04 16:25:20 2011 +0000
@@ -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.
         */



Home | Main Index | Thread Index | Old Index