summaryrefslogtreecommitdiffstats
path: root/comm/third_party/libotr/tests/regression/random-msg-disconnect-frag-auth.sh
blob: f9c1b9be16f205b44107cce508936e543ac52a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

CURDIR=$(dirname $0)/
TESTDIR=$CURDIR/..
CLIENT=$CURDIR/client/client
KEYFILE=$CURDIR/client/otr.key

MAX_MSG=20
MAX_INTERVAL=500 # msec

source $TESTDIR/utils/tap/tap.sh

diag "Messaging with random interval of max $MAX_INTERVAL with disconnect, framgents and authentication"
$CLIENT --load-key $KEYFILE --timeout $MAX_INTERVAL --max-msg $MAX_MSG --fragment --disconnect --auth