summary refs log blame commit diff stats
path: root/libotr/libotr-4.1.1/tests/regression/random-msg-disconnect-auth.sh
blob: 875c49ffa5dd5d5602bf3ac67e201a8c72ae8589 (plain) (tree)
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=50
MAX_INTERVAL=100 # msec

source $TESTDIR/utils/tap/tap.sh

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