Detailed description and instructions are in the README file. This work had been basically done during GSoC 2006. Approved by: brooks (mentor)
23 lines
325 B
Bash
23 lines
325 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
do_test() {
|
|
number=$1
|
|
comment=$2
|
|
opt=$3
|
|
if ./$executable $opt; then
|
|
echo "ok $number - $comment"
|
|
else
|
|
echo "not ok $number - $comment"
|
|
fi
|
|
}
|
|
|
|
cd `dirname $0`
|
|
|
|
executable=`basename $0 .t`
|
|
|
|
make $executable 2>&1 > /dev/null
|
|
|
|
echo 1..1
|
|
do_test 1 'getusershell() snapshot' '-s snapshot_usershell'
|