test/regress/cli/regress0/options/stream-printing.smt2
raw| 1 | ; EXPECT: stdout |
| 2 | ; EXPECT: stderr |
| 3 | ; EXPECT: stdin |
| 4 | ; EXPECT-ERROR: stderr |
| 5 | ; EXPECT-ERROR: stdout |
| 6 | ; EXPECT-ERROR: stdin |
| 7 | |
| 8 | (get-option :regular-output-channel) |
| 9 | (get-option :diagnostic-output-channel) |
| 10 | (get-option :in) |
| 11 | |
| 12 | (set-option :regular-output-channel "stderr") |
| 13 | (set-option :diagnostic-output-channel "stdout") |
| 14 | (set-option :in "stdin") |
| 15 | |
| 16 | (get-option :regular-output-channel) |
| 17 | (get-option :diagnostic-output-channel) |
| 18 | (get-option :in) |