summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/fs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fs.py b/test/fs.py
index d44f417d..b4b0315b 100644
--- a/test/fs.py
+++ b/test/fs.py
@@ -310,6 +310,7 @@ def run_file(binary):
assert time.monotonic() < deadline, 'the shell never reached a prompt'
time.sleep(.05)
assert run(client, term, b'false\n') == b'exit 1\n'
+ assert run(client, term, b'printf "one\\ntwo\\n"\n') == b'exit 0\none\ntwo\n' # then what it printed
assert run(client, term, b'sh -c "exit 7"\n') == b'exit 7\n'
assert run(client, term, b'fi\n') == b'error not run\n' # a syntax error runs nothing
assert run(client, term, b"echo 'open\n") == b'error not run\n' # nor does an open quote