From 0e752a6e215aee21dc73da097c3225495d54a5b6 Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Fri, 9 Apr 2021 07:19:03 -0300 Subject: Add libotr/etc sources --- .../libotr-4.1.1/tests/regression/random-msg-disconnect.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 libotr/libotr-4.1.1/tests/regression/random-msg-disconnect.sh (limited to 'libotr/libotr-4.1.1/tests/regression/random-msg-disconnect.sh') diff --git a/libotr/libotr-4.1.1/tests/regression/random-msg-disconnect.sh b/libotr/libotr-4.1.1/tests/regression/random-msg-disconnect.sh new file mode 100755 index 0000000..bae0703 --- /dev/null +++ b/libotr/libotr-4.1.1/tests/regression/random-msg-disconnect.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +CURDIR=$(dirname $0)/ +TESTDIR=$CURDIR/.. +CLIENT=$CURDIR/client/client +KEYFILE=$CURDIR/client/otr.key + +MAX_MSG=50 +MAX_INTERVAL=500 # msec + +source $TESTDIR/utils/tap/tap.sh + +diag "Messaging with random interval of max $MAX_INTERVAL with disconnect" +$CLIENT --disconnect --load-key $KEYFILE --timeout $MAX_INTERVAL --max-msg $MAX_MSG -- cgit 1.4.1