Fix testsuite behaviour on OpenSolaris /bin/sh.

This commit is contained in:
Sam Hocevar
2010-01-21 01:17:09 +00:00
committed by sam
parent bc58be1c91
commit 00b4da4774
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -13,10 +13,10 @@
. "$(dirname "$0")/functions.inc"
HAVE_GETLINE=$("$ZZCAT" -l | grep -q '^ getline(' && echo "y")
HAVE_GETDELIM=$("$ZZCAT" -l | grep -q '^ getdelim(' && echo "y")
HAVE_GETC_UNLOCKED=$("$ZZCAT" -l | grep -q '^ getc_unlocked(' && echo "y")
HAVE_FGETC_UNLOCKED=$("$ZZCAT" -l | grep -q '^ fgetc_unlocked(' && echo "y")
HAVE_GETLINE=$("$ZZCAT" -l | grep >/dev/null 2>&1 '^ getline(' && echo "y")
HAVE_GETDELIM=$("$ZZCAT" -l | grep >/dev/null 2>&1 '^ getdelim(' && echo "y")
HAVE_GETC_UNLOCKED=$("$ZZCAT" -l | grep >/dev/null 2>&1 '^ getc_unlocked(' && echo "y")
HAVE_FGETC_UNLOCKED=$("$ZZCAT" -l | grep >/dev/null 2>&1 '^ fgetc_unlocked(' && echo "y")
checkutils()
{
+1 -1
View File
@@ -13,7 +13,7 @@
#
DIR="$(dirname "$0")"
ZZUF="$DIR/../src/zzuf -E '[.]ilist$'"
ZZUF="$DIR/../src/zzuf -E [.]ilist$"
ZZCAT="$DIR/../src/zzcat"
if [ ! -f "$ZZCAT" ]; then