public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Patch]patch for some systemtap test cases failure
@ 2006-03-06  8:57 bibo,mao
  2006-03-06 13:48 ` Frank Ch. Eigler
  0 siblings, 1 reply; 6+ messages in thread
From: bibo,mao @ 2006-03-06  8:57 UTC (permalink / raw)
  To: systemtap

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]"

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-03-09  2:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-06  8:57 [Patch]patch for some systemtap test cases failure bibo,mao
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

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).