1.1 --- a/tests/test_person_invitation.sh Thu May 21 18:57:28 2015 +0200
1.2 +++ b/tests/test_person_invitation.sh Thu May 21 19:23:47 2015 +0200
1.3 @@ -126,3 +126,19 @@
1.4 ! grep -q "event6@example.com" "$FBOTHERFILE" \
1.5 && echo "Success" \
1.6 || echo "Failed"
1.7 +
1.8 + "$PERSON_SCRIPT" $ARGS < "$TEMPLATES/event-request-person-spoofed.txt" 2> /dev/null \
1.9 +| "$SHOWMAIL" \
1.10 +> out8.tmp
1.11 +
1.12 + ! grep -q 'METHOD:REPLY' out8.tmp \
1.13 +&& echo "Success" \
1.14 +|| echo "Failed"
1.15 +
1.16 + ! grep -q "spoof2@example.com" "$FBFILE" \
1.17 +&& echo "Success" \
1.18 +|| echo "Failed"
1.19 +
1.20 + ! grep -q "spoof2@example.com" "$FBOTHERFILE" \
1.21 +&& echo "Success" \
1.22 +|| echo "Failed"