mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-20 08:19:28 +00:00
Estimated hours taken: 0.5 Branches: main Added a test case to ensure that stdin/out are redirected correctly when invoking a system command. tests/hard-coded/system_sort.m: Test program that just calls the system command "sort". tests/hard-coded/system_sort.inp: Some text input. tests/hard-coded/system_sort.exp: Sorted output. tests/hard-coded/Mmakefile: Added system_sort to the enabled lists.
8 lines
14 B
Plaintext
8 lines
14 B
Plaintext
a
|
|
b
|
|
c
|
|
d
|
|
e
|
|
f
|
|
g
|