summaryrefslogtreecommitdiff
path: root/testsuite/nsswitch/bigfd.exp
diff options
context:
space:
mode:
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"