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: swagiaal: Fixed TestFerror.testFerrorTracesPID()


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


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