3 # Check that reading the files in tests/root/ with augtool does not lead to
6 TOPDIR=$(cd $(dirname $0)/.. && pwd)
7 [ -n "$abs_top_srcdir" ] || abs_top_srcdir=$TOPDIR
9 export AUGEAS_LENS_LIB=$abs_top_srcdir/lenses
10 export AUGEAS_ROOT=$abs_top_srcdir/tests/root
12 errors=$(augtool --nostdinc match '/augeas//error/descendant-or-self::*')
14 if [ "x$errors" != "x (no matches)" ] ; then
15 printf "get /augeas//error reported errors:\n%s\n" "$errors"