#!/bin/sh
#
#ident	"$Id: parser-n,v 1.1 2005/10/25 22:38:34 jmoyer Exp $"
#
# basic parsing test using the name service
#

NAME=`basename $0`
InitFile="../src/tests.init"

if [ "x${SERVER1}" = "x" ]; then
	if [ -f ${InitFile} ]; then
		. ${InitFile}
	fi
fi

if [ "x$VERBOSE" = "x" ]; then
	autoparse ${AUTOMAP_DIR}/dat/autoparse-n > /dev/null
else
	autoparse ${AUTOMAP_DIR}/dat/autoparse-n
fi
if [ $? -ne 0 ]; then
	echo "$NAME: FAILED"
	exit 1
else
	echo "$NAME: SUCCEEDED"
fi
