# HG changeset patch # User Paul Boddie # Date 1444054210 -7200 # Node ID 81fc5a20637e26e4895c47580362502a4ad905eb # Parent 4946483c2a767030dc7c6f161efafc6b35d6f5e8 Made use of the raw output of the resource script. diff -r 4946483c2a76 -r 81fc5a20637e tests/test_resource_invitation_constraints.sh --- a/tests/test_resource_invitation_constraints.sh Sun Oct 04 00:35:31 2015 +0200 +++ b/tests/test_resource_invitation_constraints.sh Mon Oct 05 16:10:10 2015 +0200 @@ -57,6 +57,7 @@ # Present the request to the resource. "$RESOURCE_SCRIPT" $ARGS < "$TEMPLATES/event-request-sauna-bad.txt" 2>> $ERROR \ +| tee out1r.tmp \ | "$SHOWMAIL" \ > out1.tmp @@ -76,7 +77,7 @@ # Present the response to the organiser. - "$PERSON_SCRIPT" $ARGS < out1.tmp 2>> $ERROR \ + "$PERSON_SCRIPT" $ARGS < out1r.tmp 2>> $ERROR \ | tee out2r.tmp \ | "$SHOWMAIL" \ > out2.tmp