Mercurial > hg > release > thermostat-0.15
changeset 271:c090011cb55e
Fix broken ShellCommand test.
Reviewed-by: neugens
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2012-May/001178.html
PR 972
author | Roman Kennke <rkennke@redhat.com> |
---|---|
date | Wed, 02 May 2012 16:54:08 +0200 |
parents | ca0636885cae |
children | d380c6cdf82a 365cea8f669f |
files | tools/src/main/java/com/redhat/thermostat/tools/cli/ShellCommand.java tools/src/test/java/com/redhat/thermostat/tools/cli/TestTerminal.java |
diffstat | 2 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/src/main/java/com/redhat/thermostat/tools/cli/ShellCommand.java Wed May 02 16:53:03 2012 +0200 +++ b/tools/src/main/java/com/redhat/thermostat/tools/cli/ShellCommand.java Wed May 02 16:54:08 2012 +0200 @@ -76,7 +76,6 @@ try { term.restore(); } catch (Exception e) { - System.err.println("restore kaputted"); throw new CommandException(e); } }
--- a/tools/src/test/java/com/redhat/thermostat/tools/cli/TestTerminal.java Wed May 02 16:53:03 2012 +0200 +++ b/tools/src/test/java/com/redhat/thermostat/tools/cli/TestTerminal.java Wed May 02 16:54:08 2012 +0200 @@ -46,6 +46,7 @@ @Override public void restore() throws Exception { + super.restore(); throw new Exception(); }