summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/libc/nss/test-getpw.t
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/lib/libc/nss/test-getpw.t')
-rw-r--r--tools/regression/lib/libc/nss/test-getpw.t29
1 files changed, 0 insertions, 29 deletions
diff --git a/tools/regression/lib/libc/nss/test-getpw.t b/tools/regression/lib/libc/nss/test-getpw.t
deleted file mode 100644
index 5172177..0000000
--- a/tools/regression/lib/libc/nss/test-getpw.t
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/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..8
-do_test 1 'getpwnam()' '-n'
-do_test 2 'getpwuid()' '-u'
-do_test 3 'getpwent()' '-e'
-do_test 4 'getpwent() 2-pass' '-2'
-do_test 5 'building snapshot, if needed' '-s snapshot_pwd'
-do_test 6 'getpwnam() snapshot' '-n -s snapshot_pwd'
-do_test 7 'getpwuid() snapshot' '-u -s snapshot_pwd'
-do_test 8 'getpwent() snapshot' '-e -s snapshot_pwd'
OpenPOWER on IntegriCloud