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: added a new test program. Date: Fri, 29 Feb 2008 14:19:00 -0000 [thread overview] Message-ID: <20080229141939.475.qmail@sourceware.org> (raw) 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
reply other threads:[~2008-02-29 14:19 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=20080229141939.475.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: linkBe 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).