]> sourceware.org Git - systemtap.git/commitdiff
Remove redundant parameters of catch command in lib/systemtap.exp
authorWenji Huang <wenji.huang@oracle.com>
Wed, 18 Aug 2010 01:51:54 +0000 (09:51 +0800)
committerWenji Huang <wenji.huang@oracle.com>
Wed, 18 Aug 2010 01:51:54 +0000 (09:51 +0800)
testsuite/lib/systemtap.exp

index 7e9d6826c42eba9f908e6ef2a87fffcd5a94f7af..4423971167dd44f022c4a52f1c38c1c85d6678e1 100644 (file)
@@ -237,7 +237,7 @@ print_systemtap_version
 get_system_info
 
 # PR11798: die if kernel-devel is not sufficient to build any modules
-if {[catch {exec stap -p4 -e {probe begin {exit()}}} result options]} {
+if {[catch {exec stap -p4 -e {probe begin {exit()}}} result]} {
     puts "\n\n\n**** failed systemtap kernel-devel smoke test:\n"
     puts $result
 #    puts "****\n"
@@ -250,7 +250,7 @@ if {[catch {exec stap -p4 -e {probe begin {exit()}}} result options]} {
 # NB: if one introduced a [kernel_debuginfo_p] proc like the
 # ones for uprobes/utrace above, and sprinkled it throughout,
 # then this wouldn't have to be a failing condition.
-if {[catch {exec stap -p4 -e {probe syscall.open {println (argstr)}}} result options]} {
+if {[catch {exec stap -p4 -e {probe syscall.open {println (argstr)}}} result]} {
     puts "\n\n\n**** failed systemtap kernel-debuginfo smoke test:\n"
     puts $result
 #    puts "****\n"
This page took 0.028247 seconds and 5 git commands to generate.