public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* (no subject)
@ 2008-01-11  6:29 manjunath k
  2008-01-11 14:16 ` regsub tcl error (was Re: ) David Smith
  0 siblings, 1 reply; 2+ messages in thread
From: manjunath k @ 2008-01-11  6:29 UTC (permalink / raw)
  To: systemtap

Hi,

The following error is seen while executing the testsuite

Running /home/manjunathk/SYSTEMTAP-CE-4.2/src/testsuite/systemtap.base/add.exp
...
ERROR: tcl error sourcing
/home/manjunathk/SYSTEMTAP-CE-4.2/src/testsuite/systemtap.base/add.exp.
ERROR: wrong # args: should be "regsub ?switches? exp string subSpec varName"
    while executing
"regsub {.*/testsuite/} $TEST_NAME """
    (procedure "stap_run" line 7)
    invoked from within
"stap_run $srcdir/$subdir/$test.stp no_load $all_pass_string
"
    (file "/home/manjunathk/SYSTEMTAP-CE-4.2/src/testsuite/systemtap.base/add.exp"
line 5)
    invoked from within
"source /home/manjunathk/SYSTEMTAP-CE-4.2/src/testsuite/systemtap.base/add.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source
/home/manjunathk/SYSTEMTAP-CE-4.2/src/testsuite/systemtap.base/add.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""

Regards,
Manjunath

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

* regsub tcl error (was Re: )
  2008-01-11  6:29 manjunath k
@ 2008-01-11 14:16 ` David Smith
  0 siblings, 0 replies; 2+ messages in thread
From: David Smith @ 2008-01-11 14:16 UTC (permalink / raw)
  To: manjunath k; +Cc: systemtap

manjunath k wrote:
> Hi,
> 
> The following error is seen while executing the testsuite
> 
> Running /home/manjunathk/SYSTEMTAP-CE-4.2/src/testsuite/systemtap.base/add.exp
> ...
> ERROR: tcl error sourcing
> /home/manjunathk/SYSTEMTAP-CE-4.2/src/testsuite/systemtap.base/add.exp.
> ERROR: wrong # args: should be "regsub ?switches? exp string subSpec varName"
>     while executing
> "regsub {.*/testsuite/} $TEST_NAME """
>     (procedure "stap_run" line 7)

Hmm, that is odd.  That line hasn't been changed recently.  Plus, when I
try it, it seems to work fine:

# tclsh
% regsub {.*/testsuite/} /a/testsuite/b ""
b

What version of tcl are you using (and on what arch/os)?  I'm using tcl
8.4.15 on x86/f8.

One more question.  How were you running the testsuite - by "make check"
or "make installcheck"?

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)

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

end of thread, other threads:[~2008-01-11 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-11  6:29 manjunath k
2008-01-11 14:16 ` regsub tcl error (was Re: ) David Smith

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