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: added a new test program.


The branch, master has been updated
       via  c3a795648c64b2d5f693a5ffaad6fa0775958ca5 (commit)
      from  2b60d77fb3bba566afc5c88022e55a3cfdbfbbd3 (commit)

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

- Log -----------------------------------------------------------------
commit c3a795648c64b2d5f693a5ffaad6fa0775958ca5
Author: Sami Wagiaalla <swagiaal@redhat.com>
Date:   Fri Feb 29 08:53:21 2008 -0500

    swagiaal: added a new test program.
    
    frysk-core/frysk/pkglibdir/ChangeLog
    +2008-02-29  Sami Wagiaalla  <swagiaal@redhat.com>
    +
    +	* funit-steps.c: new test program.
    +
     2008-02-08  Stan Cox  <scox@redhat.com>
    
     	* funit-quicksort.c (main): Add bubblesort for cross frame/file testing.

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

Summary of changes:
 frysk-core/frysk/pkglibdir/ChangeLog     |    4 ++++
 frysk-core/frysk/pkglibdir/funit-steps.c |   20 ++++++++++++++++++++
 2 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 frysk-core/frysk/pkglibdir/funit-steps.c

First 500 lines of diff:
diff --git a/frysk-core/frysk/pkglibdir/ChangeLog b/frysk-core/frysk/pkglibdir/ChangeLog
index 0d85a8b..10bb1ad 100644
--- a/frysk-core/frysk/pkglibdir/ChangeLog
+++ b/frysk-core/frysk/pkglibdir/ChangeLog
@@ -1,5 +1,9 @@
 2008-02-29  Sami Wagiaalla  <swagiaal@redhat.com>
 
+	* funit-steps.c: new test program.
+
+2008-02-29  Sami Wagiaalla  <swagiaal@redhat.com>
+
 	* funit-3forks.c: The last fork sigfaults.
 
 2008-02-28  Sami Wagiaalla  <swagiaal@lredhat.com>
diff --git a/frysk-core/frysk/pkglibdir/funit-steps.c b/frysk-core/frysk/pkglibdir/funit-steps.c
new file mode 100644
index 0000000..e81d8f0
--- /dev/null
+++ b/frysk-core/frysk/pkglibdir/funit-steps.c
@@ -0,0 +1,20 @@
+#include <stdlib.h>
+
+int first(int a){
+  return ++a;
+}
+
+int second(int b){
+  return ++b;
+}
+
+int third(int a, int b){
+  return a+b;
+}
+
+int main(){
+  
+  third(second(0),first(1));
+  return 0;
+}
+


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]