1.1 --- a/tests/test_resource_invitation_constraints.sh Sat Oct 17 19:49:44 2015 +0200
1.2 +++ b/tests/test_resource_invitation_constraints.sh Sat Oct 17 19:52:09 2015 +0200
1.3 @@ -82,12 +82,12 @@
1.4 | "$SHOWMAIL" \
1.5 > out2.tmp
1.6
1.7 - ! grep -q "^20141126T151000Z${TAB}20141126T154500Z" "$FBSENDEROTHERFILE" \
1.8 + ( ! [ -e "$FBSENDEROTHERFILE" ] \
1.9 + || ! grep -q "^20141126T151000Z${TAB}20141126T154500Z" "$FBSENDEROTHERFILE") \
1.10 && echo "Success" \
1.11 || echo "Failed"
1.12
1.13 - grep -q 'ATTENDEE.*;PARTSTAT=DECLINED' "$STORE/$SENDER/objects/event13@example.com" \
1.14 -&& grep -q 'DTSTART;TZID=Europe/Oslo.*:20141126T161000' "$STORE/$SENDER/objects/event13@example.com" \
1.15 + grep -q 'DTSTART;TZID=Europe/Oslo.*:20141126T161000' "$STORE/$SENDER/objects/event13@example.com" \
1.16 && echo "Success" \
1.17 || echo "Failed"
1.18