summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-06-03 14:11:16 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-06-03 14:11:16 -0400
commit8928443bd733f240e29d1af12b306d1d5dbd330f (patch)
tree4aff2a54ece2d6016ad9033be720002b92326f6d
parent4776796a9a0c30189aeef056ec9b050e4a029bf8 (diff)
downloadsystemtap-steved-8928443bd733f240e29d1af12b306d1d5dbd330f.tar.gz
systemtap-steved-8928443bd733f240e29d1af12b306d1d5dbd330f.tar.xz
systemtap-steved-8928443bd733f240e29d1af12b306d1d5dbd330f.zip
PR6429: testsuite update for inexact backtrace tolerance
-rw-r--r--testsuite/ChangeLog6
-rw-r--r--testsuite/systemtap.context/backtrace.tcl34
2 files changed, 22 insertions, 18 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index 1d4985ac..e041a934 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,6 +1,10 @@
+2008-06-03 Frank Ch. Eigler <fche@elastic.org>
+
+ * systemtap.context/backtrace.tcl: Tolerate "(inexact)" backtraces.
+
2008-05-30 Wenji Huang <wenji.huang@oracle.com>
- * systemtap.base/debugpath.exp: Add path for self-built kernel.
+ * systemtap.base/debugpath.exp: Add path for self-built kernel.
2008-05-28 Josh Stone <joshua.i.stone@intel.com>
diff --git a/testsuite/systemtap.context/backtrace.tcl b/testsuite/systemtap.context/backtrace.tcl
index 6c8aee40..aaec4cb8 100644
--- a/testsuite/systemtap.context/backtrace.tcl
+++ b/testsuite/systemtap.context/backtrace.tcl
@@ -20,11 +20,11 @@ expect {
incr m1
expect {
-timeout 5
- -re {^ 0x[a-f0-9]+ : yyy_func2[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func2[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m1 == 1} {incr m1}
exp_continue
}
- -re {^ 0x[a-f0-9]+ : yyy_func1[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func1[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m1 == 2} {incr m1}
}
}
@@ -34,11 +34,11 @@ expect {
incr m2
expect {
-timeout 5
- -re {^ 0x[a-f0-9]+ : yyy_func2[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func2[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m2 == 1} {incr m2}
exp_continue
}
- -re {^ 0x[a-f0-9]+ : yyy_func1[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func1[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m2 == 2} {incr m2}
}
}
@@ -50,15 +50,15 @@ expect {
incr m3
expect {
-timeout 5
- -re {^ 0x[a-f0-9]+ : yyy_func3[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func3[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m3 == 1} {incr m3}
exp_continue
}
- -re {^ 0x[a-f0-9]+ : yyy_func2[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func2[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m3 == 2} {incr m3}
exp_continue
}
- -re {^ 0x[a-f0-9]+ : yyy_func1[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func1[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m3 == 3} {incr m3}
}
}
@@ -68,11 +68,11 @@ expect {
incr m4
expect {
-timeout 5
- -re {^ 0x[a-f0-9]+ : yyy_func3[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func3[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m4 == 1} {incr m4}
exp_continue
}
- -re {^ 0x[a-f0-9]+ : yyy_func2[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func2[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m4 == 2} {incr m4}
exp_continue
}
@@ -88,19 +88,19 @@ expect {
incr m5
expect {
-timeout 5
- -re {^ 0x[a-f0-9]+ : yyy_func4[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func4[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m5 == 1} {incr m5}
exp_continue
}
- -re {^ 0x[a-f0-9]+ : yyy_func3[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func3[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m5 == 2} {incr m5}
exp_continue
}
- -re {^ 0x[a-f0-9]+ : yyy_func2[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func2[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m5 == 3} {incr m5}
exp_continue
}
- -re {^ 0x[a-f0-9]+ : yyy_func1[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func1[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m5 == 4} {incr m5}
}
}
@@ -110,19 +110,19 @@ expect {
incr m6
expect {
-timeout 5
- -re {^ 0x[a-f0-9]+ : yyy_func4[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func4[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m6 == 1} {incr m6}
exp_continue
}
- -re {^ 0x[a-f0-9]+ : yyy_func3[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func3[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m6 == 2} {incr m6}
exp_continue
}
- -re {^ 0x[a-f0-9]+ : yyy_func2[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func2[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m6 == 3} {incr m6}
exp_continue
}
- -re {^ 0x[a-f0-9]+ : yyy_func1[^\[]+\[systemtap_test_module2\]\r\n} {
+ -re {^ 0x[a-f0-9]+ : yyy_func1[^\[]+\[systemtap_test_module2\]( \(inexact\))?\r\n} {
if {$m6 == 4} {incr m6}
}
}