Program: 151441
Project: 151441
Buggy source:
@Test(timeout=10000) public void testTransactionTrackChangesManualTransaction() throws Exception {
  test.clearScreen();
  DirectoryResource tempDir=factory.create(OperatingSystemUtils.createTempDir()).reify(DirectoryResource.class);
  tempDir.deleteOnExit();
  test.getShell().setCurrentResource(tempDir);
  Assert.assertFalse(test.execute("String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS) instanceof Failed);
  Assert.assertFalse(test.execute("String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS) instanceof Failed);
  Assert.assertFalse(test.execute("String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS) instanceof Failed);
  Assert.assertFalse(test.execute("String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS) instanceof Failed);
  test.clearScreen();
  Assert.assertFalse(test.execute("String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS) instanceof Failed);
  test.waitForStdOutValue("String_Node_Str" + tempDir.getFullyQualifiedName() + "String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS);
  test.waitForStdOutValue("String_Node_Str" + tempDir.getFullyQualifiedName() + "String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS);
  test.clearScreen();
  Assert.assertFalse(test.execute("String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS) instanceof Failed);
  test.waitForStdOutValue("String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS);
  Assert.assertFalse(test.getStdOut().contains("String_Node_Str" + tempDir.getFullyQualifiedName() + "String_Node_Str"));
  Assert.assertFalse(test.getStdOut().contains("String_Node_Str" + tempDir.getFullyQualifiedName() + "String_Node_Str"));
}

Fixed version (ground truth):
@Test(timeout=10000) public void testTransactionTrackChangesManualTransaction() throws Exception {
  test.clearScreen();
  DirectoryResource tempDir=factory.create(OperatingSystemUtils.createTempDir()).reify(DirectoryResource.class);
  tempDir.deleteOnExit();
  test.getShell().setCurrentResource(tempDir);
  Assert.assertFalse(test.execute("String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS) instanceof Failed);
  Assert.assertFalse(test.execute("String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS) instanceof Failed);
  Assert.assertFalse(test.execute("String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS) instanceof Failed);
  Assert.assertFalse(test.execute("String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS) instanceof Failed);
  test.clearScreen();
  Assert.assertFalse(test.execute("String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS) instanceof Failed);
  test.waitForStdOutValue("String_Node_Str" + tempDir.getFullyQualifiedName() + File.separator+ "String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS);
  test.waitForStdOutValue("String_Node_Str" + tempDir.getFullyQualifiedName() + File.separator+ "String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS);
  test.clearScreen();
  Assert.assertFalse(test.execute("String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS) instanceof Failed);
  test.waitForStdOutValue("String_Node_Str",SHELL_TIMEOUT,TimeUnit.SECONDS);
  Assert.assertFalse(test.getStdOut().contains("String_Node_Str" + tempDir.getFullyQualifiedName() + File.separator+ "String_Node_Str"));
  Assert.assertFalse(test.getStdOut().contains("String_Node_Str" + tempDir.getFullyQualifiedName() + File.separator+ "String_Node_Str"));
}