kustomzone / plush

Plush is a browser-based shell or terminal.
Apache License 2.0
0 stars 0 forks source link

Special utility failures and shelltest #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
§2.8.1. states that error conditions from special utilities, in 
non-interactive shells exit. This is what causes some of the difficulty in the 
vars.doctest for testing via shelltest. in particular, it is very hard to test 
error situations with readonly, export, and unset commands.

I experimented with adding -i to the shell command lines when we invoke them 
from shelltest, but that causes the shells to output prompts and newlines, 
which further mess up the test.

Original issue reported on code.google.com by mark.len...@gmail.com on 19 Nov 2012 at 4:05