public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: cagney@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: frysk-core/frysk/ftrace/ChangeLog
Date: Wed, 12 Mar 2008 21:56:00 -0000	[thread overview]
Message-ID: <20080312215622.13962.qmail@sourceware.org> (raw)

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


                 reply	other threads:[~2008-03-12 21:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080312215622.13962.qmail@sourceware.org \
    --to=cagney@sourceware.org \
    --cc=frysk-cvs@sourceware.org \
    --cc=frysk@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).