test-getusershell.t revision 272461
1#!/bin/sh
2# $FreeBSD: releng/10.1/tools/regression/lib/libc/nss/test-getusershell.t 168754 2007-04-15 11:02:31Z bushman $
3
4do_test() {
5	number=$1
6	comment=$2
7	opt=$3
8	if ./$executable $opt; then
9		echo "ok $number - $comment"
10	else
11		echo "not ok $number - $comment"
12	fi
13}
14
15cd `dirname $0`
16
17executable=`basename $0 .t`
18
19make $executable 2>&1 > /dev/null
20
21echo 1..1
22do_test 1 'getusershell() snapshot' '-s snapshot_usershell'
23