Skip to content

Commit

Permalink
Issue #s 88 and 89
Browse files Browse the repository at this point in the history
  • Loading branch information
jphartmann committed Dec 28, 2015
1 parent 6f7514d commit a5548bd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/redtest.rexx
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,18 @@ end
say 'Done' done 'tests. ' msg
If catast > 0
Then say '>>>>>' catast 'test failed catastrophically. Bug in Hercules or test case is likely. <<<<<'
if done \= stardone then say 'Tests malformed. ' done '*Tescase orders met, but' stardone '*Done orders met.'
if done \= stardone then say 'Tests malformed. ' done '*Testcase orders met, but' stardone '*Done orders met.'
exit fails.1

/*********************************************************************/
/* Read a line of input and strip timestamp, if any. */
/*********************************************************************/

readline:
l = ''
do forever
l = ''
If 0 = lines(in)
Then return '' /* EOF */
lineno = lineno + 1
l = linein(in)
/* Another way to handle a prefix to the response might be to */
Expand Down Expand Up @@ -169,7 +171,7 @@ Select
end
When \comparing /* Toss other messages, particularly during start */
Then nop
otherwise /* Something else. Store for *Info or *Error */
otherwise /* Something else. Store for *Hmsg */
? = lastmsg.0 + 1
lastmsg.? = l
lastmsg.0 = ?
Expand Down

0 comments on commit a5548bd

Please sign in to comment.