mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
28 lines
470 B
Plaintext
28 lines
470 B
Plaintext
#
|
|
# @(#) 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"
|