# HG changeset patch # User Jon VanAlten # Date 1361320991 18000 # Node ID dc3bedd9bf00d3a0c29abcefbcf5da7388f5d21b # Parent 9bebac5faf9bf45956cd8ac3ca8f67cfd53439cf Fix integration test affected by previous change. diff -r 9bebac5faf9b -r dc3bedd9bf00 integration-tests/src/test/java/com/redhat/thermostat/itest/CliTest.java --- a/integration-tests/src/test/java/com/redhat/thermostat/itest/CliTest.java Tue Feb 19 17:59:24 2013 -0500 +++ b/integration-tests/src/test/java/com/redhat/thermostat/itest/CliTest.java Tue Feb 19 19:43:11 2013 -0500 @@ -152,8 +152,13 @@ @Test public void testShellUnrecognizedArgument() throws Exception { Spawn shell = spawnThermostat("shell", "--foo"); - shell.expectErr("Unrecognized option: --foo"); shell.expectClose(); + String stdOut = shell.getCurrentStandardOutContents(); + String expectedOut = "Unrecognized option: --foo\n" + + "usage: thermostat shell\n" + + " launches the Thermostat interactive shell\n" + + "thermostat shell\n\n"; + assertEquals(expectedOut, stdOut); } @Test