svn commit: lorikeet r592 - in trunk/heimdal/tests/kdc: .
lha at samba.org
lha at samba.org
Thu Oct 19 04:36:07 GMT 2006
Author: lha
Date: 2006-10-19 04:36:07 +0000 (Thu, 19 Oct 2006)
New Revision: 592
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=592
Log:
merge from heimdal cvs - Fix awk statement, put RE on the right side.
Modified:
trunk/heimdal/tests/kdc/check-kdc.in
Changeset:
Modified: trunk/heimdal/tests/kdc/check-kdc.in
===================================================================
--- trunk/heimdal/tests/kdc/check-kdc.in 2006-10-19 04:23:35 UTC (rev 591)
+++ trunk/heimdal/tests/kdc/check-kdc.in 2006-10-19 04:36:07 UTC (rev 592)
@@ -31,7 +31,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $Id: check-kdc.in,v 1.25 2006/10/14 13:15:29 lha Exp $
+# $Id: check-kdc.in,v 1.26 2006/10/19 04:27:33 lha Exp $
#
srcdir="@srcdir@"
@@ -116,7 +116,7 @@
echo "Extracting enctypes"
${ktutil} -k ${keytab} list > tempfile || exit 1
grep -ve '^FILE:' tempfile | grep -ve '^Vno' | grep -ve '^$' | \
- awk '/1/ !~ $1 { exit 1 }' || exit 1
+ awk '$1 !~ /1/ { exit 1 }' || exit 1
${kadmin} get foo@${R} > tempfile || exit 1
enctypes=`grep Keytypes: tempfile | sed 's/(pw-salt)//g' | sed 's/,//g' | sed 's/Keytypes://'`
More information about the samba-cvs
mailing list