diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2021-04-09 07:19:03 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2021-04-09 07:19:03 -0300 |
commit | 0e752a6e215aee21dc73da097c3225495d54a5b6 (patch) | |
tree | b81be02cbf2f06aebf322ac4a5d014b44176bba5 /libotr/libotr-4.1.1/tests/regression/random-msg-disconnect-frag-auth.sh | |
parent | 7754076c715285173311a1b6811ce377950e18a6 (diff) |
Add libotr/etc sources
Diffstat (limited to 'libotr/libotr-4.1.1/tests/regression/random-msg-disconnect-frag-auth.sh')
-rwxr-xr-x | libotr/libotr-4.1.1/tests/regression/random-msg-disconnect-frag-auth.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libotr/libotr-4.1.1/tests/regression/random-msg-disconnect-frag-auth.sh b/libotr/libotr-4.1.1/tests/regression/random-msg-disconnect-frag-auth.sh new file mode 100755 index 0000000..f9c1b9b --- /dev/null +++ b/libotr/libotr-4.1.1/tests/regression/random-msg-disconnect-frag-auth.sh @@ -0,0 +1,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 |