Skip to content

Commit

Permalink
Add testcase EXTSM
Browse files Browse the repository at this point in the history
* Add check FILE STATUS 10 is returned at AT END of SORT RETURN
  • Loading branch information
n-isaka committed Feb 8, 2024
1 parent fbc4e71 commit 641b04f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/testsuite.src/run_misc.at
Original file line number Diff line number Diff line change
Expand Up @@ -3694,6 +3694,10 @@ AT_DATA([prog.cob], [
CALL "EXTSM" USING OPCODE, FCD.
DISPLAY EX-RECORD-BUFFER.

*> "AT END".
CALL "EXTSM" USING OPCODE, FCD.
DISPLAY FCD-FILE-STATUS.

*> "TERM".
MOVE SD-term TO OPCODE.
CALL "EXTSM" USING OPCODE, FCD.
Expand All @@ -3706,6 +3710,7 @@ AT_CHECK([$COBCRUN_DIRECT ./prog], [0],
[AAA222
BBB111
CCC333
10
], [])

AT_CLEANUP
Expand Down

0 comments on commit 641b04f

Please sign in to comment.