[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r21959 - gnunet-java/src/org/gnunet/testing
From: |
gnunet |
Subject: |
[GNUnet-SVN] r21959 - gnunet-java/src/org/gnunet/testing |
Date: |
Wed, 13 Jun 2012 14:20:14 +0200 |
Author: dold
Date: 2012-06-13 14:20:14 +0200 (Wed, 13 Jun 2012)
New Revision: 21959
Modified:
gnunet-java/src/org/gnunet/testing/TestingSubsystem.java
Log:
fix
Modified: gnunet-java/src/org/gnunet/testing/TestingSubsystem.java
===================================================================
--- gnunet-java/src/org/gnunet/testing/TestingSubsystem.java 2012-06-13
12:02:45 UTC (rev 21958)
+++ gnunet-java/src/org/gnunet/testing/TestingSubsystem.java 2012-06-13
12:20:14 UTC (rev 21959)
@@ -58,6 +58,19 @@
writer = new OutputStreamWriter(p.getOutputStream());
+
+ String started;
+ try {
+ started = reader.readLine();
+ } catch (IOException e) {
+ throw new TestingSetup.SetupException(e);
+ }
+
+ if (!started.equals("started")) {
+ throw new TestingSetup.SetupException("could not start service ('"
+ started + "')");
+ }
+
+
String cfgFileName;
try {
cfgFileName = reader.readLine();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r21959 - gnunet-java/src/org/gnunet/testing,
gnunet <=