Use EGREP.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18955 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-11-08 14:56:49 +00:00
parent 2c0779168f
commit 1dd1e1d2be

View File

@@ -36,6 +36,7 @@
srcdir="@srcdir@"
objdir="@objdir@"
EGREP="@EGREP@"
testfailed="echo test failed; cat messages.log; exit 1"
@@ -120,7 +121,7 @@ ${kadmin} check ${R2} || exit 1
echo "Extracting enctypes"
${ktutil} -k ${keytab} list > tempfile || exit 1
grep -ve '^FILE:' tempfile | grep -ve '^Vno' | grep -ve '^$' | \
${EGREP} -v '^FILE:' tempfile | ${EGREP} -v '^Vno' | ${EGREP} -v '^$' | \
awk '$1 !~ /1/ { exit 1 }' || exit 1
${kadmin} get foo@${R} > tempfile || exit 1