From: "bibo,mao" <bibo.mao@intel.com>
To: systemtap@sources.redhat.com
Subject: [Patch]patch for some systemtap test cases failure
Date: Mon, 06 Mar 2006 08:57:00 -0000 [thread overview]
Message-ID: <440BF7BC.7010001@intel.com> (raw)
Hi,
This is patch for some indent.stp and args.exp test case failure. And I
tested in my IA64 box.
--- src/testsuite/buildok/indent.stp 2006-03-04 01:44:23.000000000 +0800
+++ /root/stap_testing_200603051706/src/testsuite/buildok/indent.stp
2006-03-06 08:42:02.000000000 +0800
@@ -1,3 +1,5 @@
+#! stap -p4
+
probe begin {
print (thread_indent (1)) print ("yo\n")
print (thread_indent (-1)) print ("ta\n")
--- tests/testsuite/systemtap.samples/args.exp 2006-02-26
05:09:05.000000000 +0800
+++
/root/stap_testing_200603051706/tests/testsuite/systemtap.samples/args.exp
2006-03-06 08:35:03.000000000 +0800
@@ -1,13 +1,18 @@
set test "args"
set stappath [exec which stap]
-set stpdpath [exec dirname $stappath]/../libexec/systemtap/stpd
+set stpdpath [exec dirname $stappath]/stpd
if [file exists $stpdpath] {
pass "$test search for stpd ($stpdpath)"
} else {
- fail "$test search for stpd"
- return
+ set stpdpath [exec dirname $stappath]/../libexec/systemtap/stpd
+ if [file exists $stpdpath] {
+ pass "$test search for stpd ($stpdpath)"
+ } else {
+ fail "$test search for stpd ($stpdpath)"
+ return
+ }
}
set modname "args_[pid]"
next reply other threads:[~2006-03-06 8:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-06 8:57 bibo,mao [this message]
2006-03-06 13:48 ` Frank Ch. Eigler
2006-03-07 1:02 ` bibo mao
2006-03-07 15:00 ` William Cohen
2006-03-08 15:11 ` William Cohen
2006-03-09 2:45 ` Frank Ch. Eigler
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=440BF7BC.7010001@intel.com \
--to=bibo.mao@intel.com \
--cc=systemtap@sources.redhat.com \
/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).