[augeas-devel] augeas: master - * tests/test-get.sh: print all error info on failure

David Lutterkort lutter at fedoraproject.org
Wed Feb 11 21:43:28 UTC 2009


Gitweb:        http://git.fedorahosted.org/git/augeas.git?p=augeas.git;a=commitdiff;h=adbcf97a45837879b5d0305a9a92c0564473953c
Commit:        adbcf97a45837879b5d0305a9a92c0564473953c
Parent:        353c861bfc952cc6fcf1410b2cc9555d798b4d5b
Author:        David Lutterkort <lutter at redhat.com>
AuthorDate:    Wed Feb 11 13:38:08 2009 -0800
Committer:     David Lutterkort <lutter at redhat.com>
CommitterDate: Wed Feb 11 13:38:08 2009 -0800

* tests/test-get.sh: print all error info on failure

---
 tests/test-get.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/test-get.sh b/tests/test-get.sh
index 2605aef..d91509a 100755
--- a/tests/test-get.sh
+++ b/tests/test-get.sh
@@ -9,7 +9,7 @@ TOPDIR=$(cd $(dirname $0)/.. && pwd)
 export AUGEAS_LENS_LIB=$abs_top_srcdir/lenses
 export AUGEAS_ROOT=$abs_top_srcdir/tests/root
 
-errors=$(augtool --nostdinc match '/augeas//error')
+errors=$(augtool --nostdinc match '/augeas//error/descendant-or-self::*')
 
 if [ "x$errors" != "x  (no matches)" ] ; then
     printf "get /augeas//error reported errors:\n%s\n" "$errors"




More information about the augeas-devel mailing list