add tests, 05 is broken
This commit is contained in:
Executable
+43
@@ -0,0 +1,43 @@
|
||||
#!/bin/bash
|
||||
# Run the full test flow end-to-end
|
||||
set -e
|
||||
|
||||
DIR="$(dirname "$0")"
|
||||
|
||||
# Clean previous state
|
||||
rm -f "$DIR/.state"
|
||||
|
||||
echo "============================="
|
||||
echo " Step 1: Create accounts"
|
||||
echo "============================="
|
||||
bash "$DIR/01_create_accounts.sh"
|
||||
echo ""
|
||||
|
||||
echo "============================="
|
||||
echo " Step 2: Login"
|
||||
echo "============================="
|
||||
bash "$DIR/02_login.sh"
|
||||
echo ""
|
||||
|
||||
echo "============================="
|
||||
echo " Step 3: Create group"
|
||||
echo "============================="
|
||||
bash "$DIR/03_create_group.sh"
|
||||
echo ""
|
||||
|
||||
echo "============================="
|
||||
echo " Step 4: Add user2 to group"
|
||||
echo "============================="
|
||||
bash "$DIR/04_add_user_to_group.sh"
|
||||
echo ""
|
||||
|
||||
echo "============================="
|
||||
echo " Step 5: Send message"
|
||||
echo "============================="
|
||||
bash "$DIR/05_send_message.sh"
|
||||
echo ""
|
||||
|
||||
echo "============================="
|
||||
echo " Cleanup"
|
||||
echo "============================="
|
||||
bash "$DIR/cleanup.sh"
|
||||
Reference in New Issue
Block a user