This is the mail archive of the frysk-cvs@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SCM] master: Add timeout so test won't fail incorrectly.


The branch, master has been updated
       via  9fc22952f6344d0e95865c1adc4660adeed659ea (commit)
      from  d69fbcf1960423fa8f87fc0a61dcbc4aab25657b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 9fc22952f6344d0e95865c1adc4660adeed659ea
Author: Rick Moseley <rmoseley@localhost.localdomain>
Date:   Tue Jan 15 02:06:26 2008 -0600

    Add timeout so test won't fail incorrectly.
    
    * TestRunCommand.java: Add timeout so test won't fail incorrectly.

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/hpd/ChangeLog           |    2 +-
 frysk-core/frysk/hpd/TestRunCommand.java |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog
index 50cf389..016a9f3 100644
--- a/frysk-core/frysk/hpd/ChangeLog
+++ b/frysk-core/frysk/hpd/ChangeLog
@@ -4,7 +4,7 @@
 	* StartCommand.java: Move common code to StartRun.java.
 	* RunCommand.java: Ditto.
 	* TestStartCommand.java: Modify for above changes.
-	* TestRunCommand.java: Ditto.
+	* TestRunCommand.java: Ditto plus add timeout so test won't fail.
 	* TestBreakpoints.java: Ditto.
 	* TestListCommand.java: Ditto.
 	* TestGenerateCoreCommand.java: Ditto.
diff --git a/frysk-core/frysk/hpd/TestRunCommand.java b/frysk-core/frysk/hpd/TestRunCommand.java
index 53681ef..786a7d3 100644
--- a/frysk-core/frysk/hpd/TestRunCommand.java
+++ b/frysk-core/frysk/hpd/TestRunCommand.java
@@ -73,10 +73,10 @@ public class TestRunCommand extends TestLib {
 	try { Thread.sleep(1000); } catch (Exception e) {}
 	e.sendCommandExpectPrompt("focus","Target set.*\\[0\\.0\\]\t\t([0-9]+)" +
 		"\t([0-9]+)\r\n" + "\\[0\\.1\\]\t\t([0-9]+)\t([0-9]+)\r\n");
+	try { Thread.sleep(1000); } catch (Exception e) {}
 	e.sendCommandExpectPrompt("run", "Killing process ([0-9])+.*" +
 		"Loaded executable file.*" + "Attached to process ([0-9])+.*" +
 		"Running process ([0-9])+.*");
-	try { Thread.sleep(1000); } catch (Exception e) {}
 	e.send("quit\n");
 	e.expect("Quitting...");
 	e.close();


hooks/post-receive
--
frysk system monitor/debugger


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]