mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-09 16:26:59 +08:00
This test verifies that the server will continue to operate even if the up script will block indefinitely. Resolves: #241 Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
16 lines
145 B
Bash
Executable File
16 lines
145 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if ! test -f test-sleep.tmp;then
|
|
touch test-sleep.tmp
|
|
sleep 600
|
|
fi
|
|
|
|
case "$REASON" in
|
|
connect)
|
|
;;
|
|
disconnect)
|
|
;;
|
|
esac
|
|
|
|
exit 0
|