#!/bin/sh
#
#ident	"$Id: test2,v 1.1 2005/10/25 22:38:34 jmoyer Exp $"
#
# basic serial entry mounting using opendir()
# of executable map entries
#

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

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

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