Remove bash-ism from tests/schematestutils.sh
Fix a bash-ism in an sh script, introduced by commit a3f71eb
Signed-off-by: Chris Dunlop <chris(a)onthe.net.au>
diff --git a/tests/schematestutils.sh b/tests/schematestutils.sh
index e739b99..c34364f 100644
--- a/tests/schematestutils.sh
+++ b/tests/schematestutils.sh
@@ -20,7 +20,7 @@ do
result=`$cmd 2>&1`
ret=$?
- grep -- '-invalid.xml$' <<< "$xml" 2>&1
>/dev/null
+ echo "$xml" | grep -- '-invalid.xml$' 2>&1 >/dev/null
invalid=$?
# per xmllint man page, the return codes for validation error