summaryrefslogtreecommitdiff
path: root/testsuite/nsswitch/bigfd.exp
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-05-12 06:55:09 +0000
committerTim Potter <tpot@samba.org>2000-05-12 06:55:09 +0000
commit75ebfc6f7a7692d772b729b2d83038a9054b4f90 (patch)
tree031b445348b62fdf40489fb2526c46506ee2c3ba /testsuite/nsswitch/bigfd.exp
parent053322d0ca6b68be638c2d5f4caa9909a19c1646 (diff)
downloadsamba-75ebfc6f7a7692d772b729b2d83038a9054b4f90.tar.gz
samba-75ebfc6f7a7692d772b729b2d83038a9054b4f90.tar.bz2
samba-75ebfc6f7a7692d772b729b2d83038a9054b4f90.zip
Merge from TNG.
(This used to be commit af5ded9f17addb4bc89ecb762b9b99d2f99463ab)
Diffstat (limited to 'testsuite/nsswitch/bigfd.exp')
-rw-r--r--testsuite/nsswitch/bigfd.exp27
1 files changed, 27 insertions, 0 deletions
diff --git a/testsuite/nsswitch/bigfd.exp b/testsuite/nsswitch/bigfd.exp
new file mode 100644
index 0000000000..bda1a6db6c
--- /dev/null
+++ b/testsuite/nsswitch/bigfd.exp
@@ -0,0 +1,27 @@
+#
+# @(#) Test maximum number of clients (file descriptors) for winbindd
+#
+
+load_lib util-defs.exp
+load_lib "$srcdir/config/env.exp"
+
+pass "bigfd"
+return
+
+# Compile bigfd.c
+
+set output [target_compile "$srcdir/$subdir/bigfd.c" \
+ "$srcdir/$subdir/bigfd" executable {additional_flags="-g"}]
+
+if {$output != ""} {
+ perror "compile bigfd"
+ puts $output
+ return
+}
+
+# Run bigfd
+
+set output [util_start "$srcdir/$subdir/bigfd" "" ""]
+puts $output
+
+pass "bigfd"