Eng 7267 sqcmd error to prompt

Yes. for simplicity, TestSqlCmdErrorHandling is strictly non-interactive.
I THINK that one of these sqlcmd junits manages somehow to script an interactive session, but I don't recall how.
I'll have to look into that.
I'd like to have junit tests that would catch regressions like this one post-4.9.
Having a single established test framework for scripting an interactive session will become more and more useful, especially as I want to refactor the code to completely bypass any vestiges of interactive features (like command history, etc.) in batch mode, possibly merging the FILE input and stdin streaming code to use one much simpler input stream reader interface.
That will increase the amount of code that can ONLY exercised in interactive mode.