You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
Tools: Setup runForTesting script to also create shares and send to recipient
This commit is contained in:
@@ -39,6 +39,12 @@
|
|||||||
|
|
||||||
# ./runForTesting.sh 1 createTeams,createData,resetTeam,sync && ./runForTesting.sh 2 resetTeam,sync && ./runForTesting.sh 1
|
# ./runForTesting.sh 1 createTeams,createData,resetTeam,sync && ./runForTesting.sh 2 resetTeam,sync && ./runForTesting.sh 1
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------------------------
|
||||||
|
# User 1 shares a folder with user 2
|
||||||
|
# ----------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# ./runForTesting.sh 1 createUsers,createData,reset,shareWithUser2,sync && ./runForTesting.sh 2 reset,sync && ./runForTesting.sh 1
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------
|
||||||
# Testing the CLI app with commands:
|
# Testing the CLI app with commands:
|
||||||
# ----------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------
|
||||||
@@ -127,6 +133,10 @@ do
|
|||||||
echo 'use "sub"' >> "$CMD_FILE"
|
echo 'use "sub"' >> "$CMD_FILE"
|
||||||
echo 'mknote "note 3"' >> "$CMD_FILE"
|
echo 'mknote "note 3"' >> "$CMD_FILE"
|
||||||
|
|
||||||
|
elif [[ $CMD == "shareWithUser2" ]]; then
|
||||||
|
|
||||||
|
echo 'share add "shared" user2@example.com' >> "$CMD_FILE"
|
||||||
|
|
||||||
elif [[ $CMD == "reset" ]]; then
|
elif [[ $CMD == "reset" ]]; then
|
||||||
|
|
||||||
USER_EMAIL="user$USER_NUM@example.com"
|
USER_EMAIL="user$USER_NUM@example.com"
|
||||||
|
Reference in New Issue
Block a user