Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libexecinfo Use "atf_arch" instead of "atf_machine...



details:   https://anonhg.NetBSD.org/src/rev/751a56b4e820
branches:  trunk
changeset: 779478:751a56b4e820
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Wed May 30 15:11:58 2012 +0000

description:
Use "atf_arch" instead of "atf_machine"; see atf-config(1).

diffstat:

 tests/lib/libexecinfo/t_backtrace.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 78b284ef28db -r 751a56b4e820 tests/lib/libexecinfo/t_backtrace.c
--- a/tests/lib/libexecinfo/t_backtrace.c       Wed May 30 14:54:16 2012 +0000
+++ b/tests/lib/libexecinfo/t_backtrace.c       Wed May 30 15:11:58 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_backtrace.c,v 1.3 2012/05/30 06:01:22 martin Exp $   */
+/*     $NetBSD: t_backtrace.c,v 1.4 2012/05/30 15:11:58 jruoho Exp $   */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_backtrace.c,v 1.3 2012/05/30 06:01:22 martin Exp $");
+__RCSID("$NetBSD: t_backtrace.c,v 1.4 2012/05/30 15:11:58 jruoho Exp $");
 
 #include <atf-c.h>
 #include <atf-c/config.h>
@@ -97,7 +97,7 @@
 
 ATF_TC_BODY(backtrace_fmt_basic, tc)
 {
-       const char *arch = atf_config_get("atf_machine");
+       const char *arch = atf_config_get("atf_arch");
 
         if (strcmp(arch, "amd64") != 0)
                atf_tc_skip("PR toolchain/46490: libexecinfo only"



Home | Main Index | Thread Index | Old Index