Commit 5cfe17ae authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use PROTECTED_FDS.

parent 848e886e
......@@ -23,11 +23,8 @@
# Test what happens when too many clients try to connect.
# This test makes some assumptions:
# The server reserves file descriptor 0-11 for internal use.
# File descriptor 12 is used to listen for clients.
lyskomd_start "" "Open files: 17"
lyskomd_start "" "Open files: [expr $PROTECTED_FDS + 5]"
# fd 13
client_start 1
......
......@@ -41,7 +41,7 @@ read_versions
source "$srcdir/config/prot-a.exp"
lyskomd_start "" "\
Open files: 17
Open files: [expr $PROTECTED_FDS + 5]
Log statistics: /tmp/swedish/chef/bork/bork/bork/nosuchfile
Nologin file: nologin
"
......
......@@ -28,7 +28,7 @@ read_versions
source "$srcdir/config/prot-a.exp"
lyskomd_start "" "
Open files: 15"
Open files: [expr $PROTECTED_FDS + 3]"
client_start 0
talk_to client 0
......
......@@ -37,10 +37,11 @@ proc send_async_test { async } {
global any_time
global any_num
global hollerith
global PROTECTED_FDS
lyskomd_start "" "\
Send async: $async
Open files: 16"
Open files: [expr $PROTECTED_FDS + 4]"
client_start 0
talk_to client 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment