Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
integration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
integration
Commits
c71eb169
Commit
c71eb169
authored
2 years ago
by
Richard T. Carback III
Browse files
Options
Downloads
Patches
Plain Diff
force legacy users in backup test
parent
f84fdac4
No related branches found
No related tags found
2 merge requests
!68
Master merge
,
!11
Release
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
basice2e/run.sh
+12
-12
12 additions, 12 deletions
basice2e/run.sh
with
12 additions
and
12 deletions
basice2e/run.sh
+
12
−
12
View file @
c71eb169
...
...
@@ -586,12 +586,12 @@ wait $PIDVAL
wait
$PIDVAL2
echo
"START BACKUP AND RESTORE..."
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client120.log -s blob120 --writeContact
$CLIENTOUT
/client120-contact.bin --unsafe -m
\"
Hello from Client120 to myself, without E2E Encryption
\"
"
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client120.log -s blob120
--force-legacy
--writeContact
$CLIENTOUT
/client120-contact.bin --unsafe -m
\"
Hello from Client120 to myself, without E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client120.txt
||
true
&
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client121.log -s blob121 --writeContact
$CLIENTOUT
/client121-contact.bin --destfile
$CLIENTOUT
/client120-contact.bin --send-auth-request --sendCount 0 --receiveCount 0"
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client121.log -s blob121
--force-legacy
--writeContact
$CLIENTOUT
/client121-contact.bin --destfile
$CLIENTOUT
/client120-contact.bin --send-auth-request --sendCount 0 --receiveCount 0"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client121.txt
||
true
&
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
...
@@ -602,7 +602,7 @@ while [ ! -s $CLIENTOUT/client121-contact.bin ]; do
done
# Client 120 will now wait for client 121's E2E Auth channel request and confirm
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client120.log -s blob120 --destfile
$CLIENTOUT
/client121-contact.bin --sendCount 0 --receiveCount 0"
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client120.log -s blob120
--force-legacy
--destfile
$CLIENTOUT
/client121-contact.bin --sendCount 0 --receiveCount 0"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client120.txt
||
true
&
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
...
@@ -610,11 +610,11 @@ wait $PIDVAL
wait
$PIDVAL2
# Send messages to each other
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client120.log -s blob120 --destfile
$CLIENTOUT
/client121-contact.bin --sendCount 5 --receiveCount 5 -m
\"
Hello from Client120, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client120.log -s blob120
--force-legacy
--destfile
$CLIENTOUT
/client121-contact.bin --sendCount 5 --receiveCount 5 -m
\"
Hello from Client120, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client120.txt
||
true
&
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client121.log -s blob121 --destfile
$CLIENTOUT
/client120-contact.bin --sendCount 5 --receiveCount 5 -m
\"
Hello from Client121, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client121.log -s blob121
--force-legacy
--destfile
$CLIENTOUT
/client120-contact.bin --sendCount 5 --receiveCount 5 -m
\"
Hello from Client121, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client121.txt
||
true
&
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
...
@@ -622,7 +622,7 @@ wait $PIDVAL
wait
$PIDVAL2
# Register 120 with UD
CLIENTCMD
=
"timeout 240s ../bin/client ud
$CLIENTUDOPTS
-l
$CLIENTOUT
/client120.log -s blob120 --register client120"
CLIENTCMD
=
"timeout 240s ../bin/client ud
$CLIENTUDOPTS
-l
$CLIENTOUT
/client120.log -s blob120
--force-legacy
--register client120"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client120.txt
||
true
&
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
...
@@ -630,7 +630,7 @@ wait $PIDVAL
# Backup and restore 121
CLIENTCMD
=
"timeout 60s ../bin/client
$CLIENTBACKUPOPTS
-l
$CLIENTOUT
/client121.log -s blob121 --backupOut
$CLIENTOUT
/client121A.backup --backupPass hello --backupJsonOut
$CLIENTOUT
/client121A.backup.json"
CLIENTCMD
=
"timeout 60s ../bin/client
$CLIENTBACKUPOPTS
-l
$CLIENTOUT
/client121.log -s blob121
--force-legacy
--backupOut
$CLIENTOUT
/client121A.backup --backupPass hello --backupJsonOut
$CLIENTOUT
/client121A.backup.json"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client121.txt
||
true
&
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
...
@@ -638,18 +638,18 @@ wait $PIDVAL
rm
-fr
blob121
CLIENTCMD
=
"timeout 60s ../bin/client
$CLIENTBACKUPOPTS
-l
$CLIENTOUT
/client121.log -s blob121 --backupIn
$CLIENTOUT
/client121A.backup --backupPass hello --backupJsonOut
$CLIENTOUT
/client121B.backup.json --backupIdList
$CLIENTOUT
/client121Partners.json"
CLIENTCMD
=
"timeout 60s ../bin/client
$CLIENTBACKUPOPTS
-l
$CLIENTOUT
/client121.log -s blob121
--force-legacy
--backupIn
$CLIENTOUT
/client121A.backup --backupPass hello --backupJsonOut
$CLIENTOUT
/client121B.backup.json --backupIdList
$CLIENTOUT
/client121Partners.json"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client121.txt
||
true
&
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
CLIENTCMD
=
"timeout 240s ../bin/client ud
$CLIENTUDOPTS
-l
$CLIENTOUT
/client121.log -s blob121 --batchadd
$CLIENTOUT
/client121Partners.json --unsafe-channel-creation"
CLIENTCMD
=
"timeout 240s ../bin/client ud
$CLIENTUDOPTS
-l
$CLIENTOUT
/client121.log -s blob121
--force-legacy
--batchadd
$CLIENTOUT
/client121Partners.json --unsafe-channel-creation"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client121.txt
||
true
&
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client120.log -s blob120 --destfile
$CLIENTOUT
/client121-contact.bin --sendCount 0 --receiveCount 0 --unsafe-channel-creation"
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client120.log -s blob120
--force-legacy
--destfile
$CLIENTOUT
/client121-contact.bin --sendCount 0 --receiveCount 0 --unsafe-channel-creation"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client120.txt
||
true
&
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL2
"
...
...
@@ -657,11 +657,11 @@ wait $PIDVAL
wait
$PIDVAL2
# Send messages to each other
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client120.log -s blob120 --destfile
$CLIENTOUT
/client121-contact.bin --sendCount 5 --receiveCount 5 -m
\"
Hello from Client120, with E2E Encryption after 121 restoring backup
\"
--unsafe-channel-creation"
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client120.log -s blob120
--force-legacy
--destfile
$CLIENTOUT
/client121-contact.bin --sendCount 5 --receiveCount 5 -m
\"
Hello from Client120, with E2E Encryption after 121 restoring backup
\"
--unsafe-channel-creation"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client120.txt
||
true
&
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client121.log -s blob121 --destfile
$CLIENTOUT
/client120-contact.bin --sendCount 5 --receiveCount 5 -m
\"
Hello from Client121, with E2E Encryption after 121 restoring backup
\"
--unsafe-channel-creation"
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client121.log -s blob121
--force-legacy
--destfile
$CLIENTOUT
/client120-contact.bin --sendCount 5 --receiveCount 5 -m
\"
Hello from Client121, with E2E Encryption after 121 restoring backup
\"
--unsafe-channel-creation"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client121.txt
||
true
&
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment