public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: frysk-core/frysk/ftrace/ChangeLog
@ 2008-03-12 21:56 cagney
  0 siblings, 0 replies; only message in thread
From: cagney @ 2008-03-12 21:56 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  86f26a3065aed78972abaec90cc0a22f8dc5101a (commit)
      from  1d5c87ae35df7f48f21b3d364ed8a57e9c5d475f (commit)

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

- Log -----------------------------------------------------------------
commit 86f26a3065aed78972abaec90cc0a22f8dc5101a
Author: Andrew Cagney <cagney@redhat.com>
Date:   Wed Mar 12 17:54:15 2008 -0400

    frysk-core/frysk/ftrace/ChangeLog
    2008-03-12  Andrew Cagney  <cagney@redhat.com>
    
    	* TestMappingGuard.java: Use StopEventLoopWhenProcTerminated.
    	* TestLtrace.java: Ditto.

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

Summary of changes:
 frysk-core/frysk/ftrace/ChangeLog             |    5 +++++
 frysk-core/frysk/ftrace/TestLtrace.java       |   24 ++++++++++++++----------
 frysk-core/frysk/ftrace/TestMappingGuard.java |   12 +++++++-----
 3 files changed, 26 insertions(+), 15 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/ftrace/ChangeLog b/frysk-core/frysk/ftrace/ChangeLog
index 2ca2c40..7f65642 100644
--- a/frysk-core/frysk/ftrace/ChangeLog
+++ b/frysk-core/frysk/ftrace/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-12  Andrew Cagney  <cagney@redhat.com>
+
+	* TestMappingGuard.java: Use StopEventLoopWhenProcTerminated.
+	* TestLtrace.java: Ditto.
+
 2008-03-10  Petr Machata  <pmachata@redhat.com>
 
 	* MappingGuard.java: Make both mapping guard terminating observers.
diff --git a/frysk-core/frysk/ftrace/TestLtrace.java b/frysk-core/frysk/ftrace/TestLtrace.java
index 118e933..603a374 100644
--- a/frysk-core/frysk/ftrace/TestLtrace.java
+++ b/frysk-core/frysk/ftrace/TestLtrace.java
@@ -42,10 +42,14 @@ package frysk.ftrace;
 import frysk.config.Config;
 import frysk.proc.Action;
 import frysk.proc.Task;
-import frysk.testbed.*;
-
-import java.util.*;
-import java.util.regex.*;
+import frysk.testbed.TestLib;
+import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.Set;
+import java.util.LinkedList;
+import frysk.testbed.DaemonBlockedAtEntry;
+import frysk.testbed.StopEventLoopWhenProcTerminated;
+import java.util.regex.Pattern;
 
 /**
  * This is a test for basic ltrace capabilities.
@@ -252,7 +256,7 @@ public class TestLtrace
 	MappingGuard.requestAddMappingObserver(task, mappingObserver);
 	assertRunUntilStop("add mapping observer");
 
-	new StopEventLoopWhenProcRemoved(child);
+	new StopEventLoopWhenProcTerminated(child);
 	child.requestRemoveBlock();
 	assertRunUntilStop("run child until exit");
 
@@ -358,7 +362,7 @@ public class TestLtrace
 	MappingGuard.requestAddMappingObserver(task, mappingObserver);
 	assertRunUntilStop("add mapping observer");
 
-	new StopEventLoopWhenProcRemoved(child);
+	new StopEventLoopWhenProcTerminated(child);
 	child.requestRemoveBlock();
 	assertRunUntilStop("run child until exit");
 
@@ -440,7 +444,7 @@ public class TestLtrace
 	MappingGuard.requestAddMappingObserver(task, new GenericMappingObserver(observerCreator));
 	assertRunUntilStop("add mapping observer");
 
-	new StopEventLoopWhenProcRemoved(child);
+	new StopEventLoopWhenProcTerminated(child);
 	child.requestRemoveBlock();
 	assertRunUntilStop("run child until exit");
 
@@ -465,7 +469,7 @@ public class TestLtrace
 	MappingGuard.requestAddMappingObserver(task, new GenericMappingObserver(observerCreator));
 	assertRunUntilStop("add mapping observer");
 
-	new StopEventLoopWhenProcRemoved(child);
+	new StopEventLoopWhenProcTerminated(child);
 	child.requestRemoveBlock();
 	assertRunUntilStop("run child until exit");
 
@@ -497,7 +501,7 @@ public class TestLtrace
 	}
 	assertRunUntilStop("add mapping guards");
 
-	new StopEventLoopWhenProcRemoved(child);
+	new StopEventLoopWhenProcTerminated(child);
 	child.requestRemoveBlock();
 	assertRunUntilStop("run child until exit");
 
@@ -524,7 +528,7 @@ public class TestLtrace
 	MappingGuard.requestAddMappingObserver(task, new GenericMappingObserver(controller));
 	assertRunUntilStop("add mapping guards");
 
-	new StopEventLoopWhenProcRemoved(child);
+	new StopEventLoopWhenProcTerminated(child);
 	child.requestRemoveBlock();
 	assertRunUntilStop("run child until exit");
 
diff --git a/frysk-core/frysk/ftrace/TestMappingGuard.java b/frysk-core/frysk/ftrace/TestMappingGuard.java
index 10ea935..deae35a 100644
--- a/frysk-core/frysk/ftrace/TestMappingGuard.java
+++ b/frysk-core/frysk/ftrace/TestMappingGuard.java
@@ -43,10 +43,12 @@ import frysk.config.Config;
 import frysk.proc.Action;
 import frysk.proc.Manager;
 import frysk.proc.Task;
-import frysk.testbed.*;
-
-import java.util.*;
-import java.util.regex.*;
+import frysk.testbed.TestLib;
+import java.util.ArrayList;
+import frysk.testbed.DaemonBlockedAtEntry;
+import frysk.testbed.StopEventLoopWhenProcTerminated;
+import java.util.regex.Pattern;
+import java.util.Iterator;
 
 /**
  * This is a test for basic ltrace capabilities.
@@ -95,7 +97,7 @@ public class TestMappingGuard
 	MappingGuard.requestAddMappingObserver(task, observer);
 	assertRunUntilStop("add mapping observer");
 
-	new StopEventLoopWhenProcRemoved(child);
+	new StopEventLoopWhenProcTerminated(child);
 	child.requestRemoveBlock();
 	assertRunUntilStop("run child until exit");
 


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-12 21:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-12 21:56 [SCM] master: frysk-core/frysk/ftrace/ChangeLog cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).