From: erg Date: Fri, 13 Jun 2008 17:01:23 +0000 (+0000) Subject: Add test for ksh93. X-Git-Tag: LAST_LIBGRAPH~32^2~3955 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bac99a5d6fce8ec3e2698ecc9aca1ef25e23ea19;p=graphviz Add test for ksh93. --- diff --git a/rtest/rtest.sh b/rtest/rtest.sh index 81a76299c..908c2c939 100755 --- a/rtest/rtest.sh +++ b/rtest/rtest.sh @@ -9,6 +9,18 @@ # on architecture, etc. Maintain common ones in REFDIR. # Report differences with shared version and with new output. +# bsh, linux-ksh filter +bar=1;echo foo | read bar<<- \! +2 +! +if ((bar==1)) +then + echo "Graphviz test suite requires ksh93" + exit 1 +fi +# csh, ksh88 filter +(( 1.5 == 1 )) && { echo "Graphviz test suite requires ksh93"; exit 1; } + TESTFILE=tests.txt # Test specifications GRAPHDIR=graphs # Directory of input graphs and data OUTDIR=ndata # Directory for test output