1.1 --- a/tests/test_resource_invitation_constraints_alternative.sh Fri Apr 22 20:30:51 2016 +0200
1.2 +++ b/tests/test_resource_invitation_constraints_alternative.sh Fri Apr 22 20:33:51 2016 +0200
1.3 @@ -35,6 +35,7 @@
1.4 # Present the request to the resource.
1.5
1.6 "$RESOURCE_SCRIPT" $ARGS < "$TEMPLATES/event-request-sauna-bad.txt" 2>> $ERROR \
1.7 +| tee out1r.tmp \
1.8 | "$SHOWMAIL" \
1.9 > out1.tmp
1.10
1.11 @@ -58,7 +59,7 @@
1.12
1.13 # Present the response to the organiser.
1.14
1.15 - "$PERSON_SCRIPT" $ARGS < out1.tmp 2>> $ERROR \
1.16 + "$PERSON_SCRIPT" $ARGS < out1r.tmp 2>> $ERROR \
1.17 | tee out2r.tmp \
1.18 | "$SHOWMAIL" \
1.19 > out2.tmp
1.20 @@ -99,6 +100,7 @@
1.21 "$OUTGOING_SCRIPT" $ARGS < out3.tmp 2>> $ERROR
1.22
1.23 "$RESOURCE_SCRIPT" $ARGS < out3.tmp 2>> $ERROR \
1.24 +| tee out4r.tmp \
1.25 | "$SHOWMAIL" \
1.26 > out4.tmp
1.27
1.28 @@ -131,6 +133,7 @@
1.29 # Present the request to the resource.
1.30
1.31 "$RESOURCE_SCRIPT" $ARGS < "$TEMPLATES/event-request-sauna-rival.txt" 2>> $ERROR \
1.32 +| tee out5r.tmp \
1.33 | "$SHOWMAIL" \
1.34 > out5.tmp
1.35
1.36 @@ -154,16 +157,17 @@
1.37
1.38 # Present the response to the organiser.
1.39
1.40 - "$PERSON_SCRIPT" $ARGS < out5.tmp 2>> $ERROR \
1.41 + "$PERSON_SCRIPT" $ARGS < out5r.tmp 2>> $ERROR \
1.42 +| tee out6r.tmp \
1.43 | "$SHOWMAIL" \
1.44 > out6.tmp
1.45
1.46 "$LIST_SCRIPT" $LIST_ARGS "$RIVALSENDER" "freebusy" \
1.47 -> out6r.tmp
1.48 +> out6R.tmp
1.49
1.50 - ! grep -q "^20141126T151000Z${TAB}20141126T154500Z" "out6r.tmp" \
1.51 -&& ! grep -q "^20141126T151500Z${TAB}20141126T154500Z" "out6r.tmp" \
1.52 -&& grep -q "^20141126T153000Z${TAB}20141126T154500Z" "out6r.tmp" \
1.53 + ! grep -q "^20141126T151000Z${TAB}20141126T154500Z" "out6R.tmp" \
1.54 +&& ! grep -q "^20141126T151500Z${TAB}20141126T154500Z" "out6R.tmp" \
1.55 +&& grep -q "^20141126T153000Z${TAB}20141126T154500Z" "out6R.tmp" \
1.56 && echo "Success" \
1.57 || echo "Failed"
1.58