This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

few failures in systemtap scripts in later versions of tcl, expect


Hi Will, 

I tried running systemtap testsuite after installing latest versions of
tcl and expect 

runtest -V shows
-----------------------------------------
Expect version is       5.44
Tcl version is          8.5
Framework version is    1.4.4
------------------------------------------

I saw couple of errors when running these scripts.

1. systemtap.syscall/syscall.exp: 
---------------------------------

ERROR: tcl error sourcing
/home/src/testsuite/systemtap.syscall/syscall.exp.
ERROR: usage: send [args] string
    while executing
"send_log "--------- EXPECTED and NOT MATCHED ----------\n""
    (procedure "run_one_test" line 81)
    invoked from within
"run_one_test $filename $flags"
    (procedure "test_procedure" line 65)
    invoked from within
"test_procedure"
    (file
"/home/src/testsuite/systemtap.syscall/syscall.exp"
line 80)
    invoked from within
"source
/home/src/testsuite/systemtap.syscall/syscall.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source
/home/src/testsuite/systemtap.syscall/syscall.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""


changing "send_log" to "puts" in
/home/src/testsuite/systemtap.syscall/test.tcl seems to make the problem
go away. But I am not sure if thats the right thing to do 


2. systemtap.context/context.exp


/home/src/testsuite/systemtap.context/context.exp ...
ERROR: (DejaGnu) proc "2-4" does not exist.
The error code is NONE
The info on the error is:
no files matched glob pattern
"/home/src/testsuite/systemtap/systemtap*"
    while executing
"glob /home/src/testsuite/systemtap/systemtap*"
    invoked from within
"catch "glob ${path}/${pattern}" tmp"



These errors seem to be generated from line 92 of
systemtap.context/backtrace.stp which is 
 eof {fail "backtrace of yyy_func[2-4]: unexpected EOF" }

Temporarily I disabled this line. 

These errors happes on x86 box.

Do you have an idea if these are our script issues or if these are due
to changes in the latest tcl/expect

--
Thanks and Regards
Srikar


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]