Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 236877
Collapse All | Expand All

(-)t_cltsrv.sh.orig (-2 / +4 lines)
Lines 38-48 Link Here
38
    fi
38
    fi
39
    ;;
39
    ;;
40
esac
40
esac
41
downscript="${srcdir}/t_cltsrv-down.sh"
42
test -x $downscript || chmod +x $downscript || { echo >&2 "$downscript is not executable, failing." ; exit 1 ; }
41
echo "the following test will take about two minutes..." >&2
43
echo "the following test will take about two minutes..." >&2
42
set +e
44
set +e
43
(
45
(
44
./openvpn --cd "${srcdir}" ${addopts} --down 'echo "srv:${signal}" >&3 ; : #' --tls-exit --ping-exit 180 --config sample-config-files/loopback-server &
46
./openvpn --script-security 2 --cd "${srcdir}" ${addopts} --setenv role srv --down "$downscript" --tls-exit --ping-exit 180 --config sample-config-files/loopback-server &
45
./openvpn --cd "${srcdir}" ${addopts} --down 'echo "clt:${signal}" >&3 ; : #' --tls-exit --ping-exit 180 --config sample-config-files/loopback-client
47
./openvpn --script-security 2 --cd "${srcdir}" ${addopts} --setenv role clt --down "$downscript" --tls-exit --ping-exit 180 --config sample-config-files/loopback-client
46
) 3>log.$$.signal >log.$$ 2>&1
48
) 3>log.$$.signal >log.$$ 2>&1
47
e1=$?
49
e1=$?
48
wait $!
50
wait $!
(-)t_cltsrv-down.sh.orig (+2 lines)
Line 0 Link Here
1
#! /bin/sh
2
echo "${role}:${signal}" >&3

Return to bug 236877