public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: swagiaal@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: swagiaal: Fixed TestFerror.testFerrorTracesPID()
Date: Tue, 03 Jun 2008 20:40:00 -0000	[thread overview]
Message-ID: <20080603204009.25664.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  159ee9e1877101bc8cd9950fe13a254d4f97eb73 (commit)
      from  4c67208accaec119dcda3f2ec795e8e98584a740 (commit)

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

- Log -----------------------------------------------------------------
commit 159ee9e1877101bc8cd9950fe13a254d4f97eb73
Author: Sami Wagiaalla <swagiaal@redhat.com>
Date:   Tue Jun 3 16:39:38 2008 -0400

    swagiaal: Fixed TestFerror.testFerrorTracesPID()
    
    frysk-core/frysk/bindir/ChangeLog
    +2008-06-03  Sami Wagiaalla  <swagiaal@redhat.com>
    +
    +	* TestFerror.java (testFerrorTracesPID_MissingSignal): New test.
    +	(testFerrorTracesPID): Fixed test.
    +

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

Summary of changes:
 frysk-core/frysk/bindir/ChangeLog       |    5 +++++
 frysk-core/frysk/bindir/TestFerror.java |   15 +++++++++++++++
 2 files changed, 20 insertions(+), 0 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/bindir/ChangeLog b/frysk-core/frysk/bindir/ChangeLog
index 6a8823f..cc98c3b 100644
--- a/frysk-core/frysk/bindir/ChangeLog
+++ b/frysk-core/frysk/bindir/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-03  Sami Wagiaalla  <swagiaal@redhat.com>
+
+	* TestFerror.java (testFerrorTracesPID_MissingSignal): New test.
+	(testFerrorTracesPID): Fixed test.
+
 2008-05-30  Sami Wagiaalla  <swagiaal@redhat.com>
 
 	* fdebugdump.java: New utility.
diff --git a/frysk-core/frysk/bindir/TestFerror.java b/frysk-core/frysk/bindir/TestFerror.java
index ab1ec37..a2ef81b 100644
--- a/frysk-core/frysk/bindir/TestFerror.java
+++ b/frysk-core/frysk/bindir/TestFerror.java
@@ -64,6 +64,21 @@ public class TestFerror extends TestLib {
 	TearDownExpect e = new TearDownExpect(new String[] {
 		Prefix.binFile("ferror").getAbsolutePath(),
 		"-e",
+		"cloneXX",
+		"--",
+		Integer.toString(task.getProc().getPid())});
+	e.expect("Tracing");
+	child.assertSendAddCloneWaitForAcks();
+	Task clone = child.findTaskUsingRefresh(false);
+	e.expect("Tracing " + clone.getProc().getPid()+"."+clone.getTid() );
+    }
+
+    public void testFerrorTracesPID_MissingSignal () {
+	SlaveOffspring child = SlaveOffspring.createChild();
+	Task task = child.findTaskUsingRefresh(true);
+	TearDownExpect e = new TearDownExpect(new String[] {
+		Prefix.binFile("ferror").getAbsolutePath(),
+		"-e",
 		"clone",
 		"--",
 		Integer.toString(task.getProc().getPid())});


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


                 reply	other threads:[~2008-06-03 20:40 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=20080603204009.25664.qmail@sourceware.org \
    --to=swagiaal@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).