3 # Exercise several PMCD connection timeout interfaces.
5 # Copyright (c) 2015 Red Hat.
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
16 status
=1 # failure is the default!
17 $sudo rm -rf $tmp $tmp.
* $seq.full
18 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
20 # real QA test starts here
21 echo "== early intervention"
22 src
/clienttimeout
-p -s -C -S -P
23 echo "== modify after context"
24 src
/clienttimeout
-C -S -P -r 1 -c 2
25 echo "== late setting only"
26 src
/clienttimeout
-S -P -r 0.5 -c 0.2
27 echo "== initial env vars"
28 PMCD_CONNECT_TIMEOUT
=150 PMCD_REQUEST_TIMEOUT
=60 \
29 src
/clienttimeout
-p -S -P -r 0.5 -c 0.2