summaryrefslogtreecommitdiff
path: root/testsuite/nsswitch/bigfd.exp
blob: bda1a6db6cfb8645c18e8f1567f22d85ec71fd72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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"