From e258f53be28ab34acce2b84b3a8817edf2c0a8d4 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 5 Feb 2003 14:50:15 +0000 Subject: [PATCH] quick hack to check for awk --- tests/scripts/test011-subtree-repl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/scripts/test011-subtree-repl b/tests/scripts/test011-subtree-repl index 3089ba0779..ed1a9c10a4 100755 --- a/tests/scripts/test011-subtree-repl +++ b/tests/scripts/test011-subtree-repl @@ -41,6 +41,14 @@ if test ! -x $SLURPD ; then exit 0 fi +# quick hack to check for awk +echo "looking for a POSIX compliant awk" +awk -W version >/dev/null 2>&1 +if test $? != 0 ; then + echo "This test requires awk" + exit 0 +fi + echo "Cleaning up in $DBDIR..." rm -f $DBDIR/[!C]* echo "Cleaning up in $REPLDIR..." -- 2.39.5