From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25707 invoked by alias); 6 Mar 2006 08:57:38 -0000 Received: (qmail 25700 invoked by uid 22791); 6 Mar 2006 08:57:38 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from fmr22.intel.com (HELO scsfmr002.sc.intel.com) (143.183.121.14) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 06 Mar 2006 08:57:37 +0000 Received: from scsfmr100.sc.intel.com (scsfmr100.sc.intel.com [10.3.253.9]) by scsfmr002.sc.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id k268vZkT032520 for ; Mon, 6 Mar 2006 08:57:35 GMT Received: from [10.239.13.78] (maobb.sh.intel.com [10.239.13.78]) by scsfmr100.sc.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with ESMTP id k268vZ6S015530; Mon, 6 Mar 2006 08:57:36 GMT Message-ID: <440BF7BC.7010001@intel.com> Date: Mon, 06 Mar 2006 08:57:00 -0000 From: "bibo,mao" User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: systemtap@sources.redhat.com Subject: [Patch]patch for some systemtap test cases failure Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.52 on 10.3.253.9 X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00706.txt.bz2 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]"