Skip to content

Commit 96028a2

Browse files
committed
Fix test.
1 parent 938838c commit 96028a2

File tree

1 file changed

+2
-1
lines changed
  • rpm/org.eclipse.linuxtools.rpm.core.tests/src/org/eclipse/linuxtools/rpm/core/tests

1 file changed

+2
-1
lines changed

rpm/org.eclipse.linuxtools.rpm.core.tests/src/org/eclipse/linuxtools/rpm/core/tests/RPMProjectTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ public void testBuildPrepHelloWorld() throws Exception {
134134
}
135135
File foo = new File(FileLocator.toFileURL(url).getPath());
136136
rpmProject.importSourceRPM(foo);
137-
rpmProject.buildPrep();
137+
ByteArrayOutputStream bos = new ByteArrayOutputStream();
138+
rpmProject.buildPrep(bos);
138139

139140
// Make sure we got everything in the build directory
140141
IFolder builddir = rpmProject.getConfiguration().getBuildFolder();

0 commit comments

Comments
 (0)