[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils
Subject:    [PATCH] tests: print "python missing:..." diagnostic where more will see it
From:       Jim Meyering <jim () meyering ! net>
Date:       2011-02-10 7:58:36
Message-ID: 874o8cl3rn.fsf () rho ! meyering ! net
[Download RAW message or body]

FYI,

>From c91b2a3c3b3e6ed88312ce104984f8c3778c9dea Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Wed, 9 Feb 2011 08:29:38 +0100
Subject: [PATCH] tests: print "python missing:..." diagnostic where more will see it

* tests/init.cfg (fiemap_capable_): Print with warn_, so that the
diagnostic shows up alongside the corresponding SKIP message.
---
 tests/init.cfg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/init.cfg b/tests/init.cfg
index ceb9448..eb3feaa 100644
--- a/tests/init.cfg
+++ b/tests/init.cfg
@@ -301,7 +301,7 @@ require_proc_pid_status_()
 fiemap_capable_()
 {
   if ! python < /dev/null; then
-    echo 'fiemap_capable_: python missing: assuming not fiemap capable' 1>&2
+    warn_ 'fiemap_capable_: python missing: assuming not fiemap capable'
     return 1
   fi
   python $abs_srcdir/fiemap-capable "$@"
--
1.7.4.2.g597a6


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic