]> sourceware.org Git - systemtap.git/commitdiff
2007-10-16 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Wed, 17 Oct 2007 12:58:41 +0000 (12:58 +0000)
committerhunt <hunt>
Wed, 17 Oct 2007 12:58:41 +0000 (12:58 +0000)
PR 5000
* systemtap.printf/bin3.stp. Removed.
* systemtap.printf/bin3a.stp. Renamed bin3.stp.
* systemtap.printf/bin4.stp. Removed.
* systemtap.printf/bin4a.stp. Renamed bin4.stp.
* systemtap.printf/bin5.stp. Removed.
* systemtap.printf/bin5a.stp. Renamed bin5.stp.
* systemtap.printf/bin3.exp: Don't run bin3a.stp.
* systemtap.printf/bin4.exp: Don't run bin4a.stp.
* systemtap.printf/bin5.exp: Don't run bin5a.stp.

Increase reliability under loads.
* systemtap.samples/pfaults.exp: Increase MAXACTION.
* systemtap.context/backtrace.tcl: Handle just
a single userspace address.

testsuite/ChangeLog
testsuite/systemtap.context/backtrace.tcl
testsuite/systemtap.printf/bin.stp [deleted file]
testsuite/systemtap.printf/bin3.exp
testsuite/systemtap.printf/bin3a.stp [deleted file]
testsuite/systemtap.printf/bin4.exp
testsuite/systemtap.printf/bin4a.stp [deleted file]
testsuite/systemtap.printf/bin5.exp
testsuite/systemtap.printf/bin5a.stp [deleted file]
testsuite/systemtap.samples/pfaults.exp
testsuite/systemtap.samples/profile.exp

index 5e04e64f05ea54eb9e237fa11dc19d619cdf2e87..9f54311e647fffa908febc936a5d3bc85dcb5ba2 100644 (file)
@@ -1,3 +1,21 @@
+2007-10-16  Martin Hunt  <hunt@redhat.com>
+
+       PR 5000
+       * systemtap.printf/bin3.stp. Removed.
+       * systemtap.printf/bin3a.stp. Renamed bin3.stp. 
+       * systemtap.printf/bin4.stp. Removed.
+       * systemtap.printf/bin4a.stp. Renamed bin4.stp. 
+       * systemtap.printf/bin5.stp. Removed.
+       * systemtap.printf/bin5a.stp. Renamed bin5.stp. 
+       * systemtap.printf/bin3.exp: Don't run bin3a.stp.       
+       * systemtap.printf/bin4.exp: Don't run bin4a.stp.
+       * systemtap.printf/bin5.exp: Don't run bin5a.stp.
+
+       Increase reliability under loads.
+       * systemtap.samples/pfaults.exp: Increase MAXACTION.
+       * systemtap.context/backtrace.tcl: Handle just
+       a single userspace address.
+
 2007-10-05  Frank Ch. Eigler  <fche@elastic.org>
 
        PR 1119.
index b632870ba2e0113480b7844b6e05a5a10e1a1e0d..e35832eed4fd907bf00261f669173d539a64a46b 100644 (file)
@@ -94,17 +94,17 @@ expect {
        incr m5
        expect {
            -timeout 5
-           -re {^ 0x[a-f0-9]+ : [^\r\n]+\r\n} {
+           -re {^ 0x[a-f0-9]+[^\r\n]+\r\n} {
                if {$m5 == 1} {incr m5}
            }
        }
        exp_continue
     }
-    -re {.*---\r\nthe profile stack is 0x[a-f0-9]+ [^\r\n]+\r\n} {
+    -re {.*---\r\nthe profile stack is 0x[a-f0-9]+[^\r\n]+\r\n} {
        incr m6
        expect {
            -timeout 5
-           -re {.*---\r\n 0x[a-f0-9]+ : [^\r\n]+\r\n} {
+           -re {.*---\r\n 0x[a-f0-9]+[^\r\n]+\r\n} {
                if {$m6 == 1} {incr m6}
            }
        }
diff --git a/testsuite/systemtap.printf/bin.stp b/testsuite/systemtap.printf/bin.stp
deleted file mode 100644 (file)
index ac86059..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-# test of 16-bit binary prints
-# need to use big_endian2() to get consistent results across 
-# different-endian architectures.
-
-probe begin 
-{
-       set_endian(2)
-       printf("%2b", 0x12)
-       printf("%2b", 0x34)
-       printf("%2b%2b", 0xabcd, 0x5678)
-       a = 0x12345678
-       b = 0xabcd
-       c = 0x8888
-       d = 0xcdef
-       printf("%2b%2b%2b%2b", a, b, c, d)
-       printf("a=%2b b=%2b c=%2b d=%2b",a,b,c,d)
-       exit()
-}
index 18b0b4e4283a92c77b883d6e4915bd8295e26923..b0d54c38819f651f0d3ee6cff62704a6b521cb20 100644 (file)
@@ -6,5 +6,3 @@ cd 20 63 3d 88 88 20 64
 
 set test "bin3"
 stap_run_binary $srcdir/$subdir/$test.stp
-set test "bin3a"
-stap_run_binary $srcdir/$subdir/$test.stp
diff --git a/testsuite/systemtap.printf/bin3a.stp b/testsuite/systemtap.printf/bin3a.stp
deleted file mode 100644 (file)
index c0a3044..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# test of 16-bit binary prints
-# need to use big_endian2() to get consistent results across 
-# different-endian architectures.
-
-probe begin 
-{
-       printf("%2b", big_endian2(0x12))
-       printf("%2b", big_endian2(0x34))
-       printf("%2b%2b", big_endian2(0xabcd), big_endian2(0x5678))
-       a = big_endian2(0x12345678)
-       b = big_endian2(0xabcd)
-       c = big_endian2(0x8888)
-       d = big_endian2(0xcdef)
-       printf("%2b%2b%2b%2b", a, b, c, d)
-       printf("a=%2b b=%2b c=%2b d=%2b",a,b,c,d)
-       exit()
-}
index 35105a8d58c9d588af8d081a4dd74ab62075ee8b..335b58c07e87b23f33064541881527c14ce794a0 100644 (file)
@@ -9,5 +9,3 @@ ef 00 00               }
 
 set test "bin4"
 stap_run_binary $srcdir/$subdir/$test.stp
-set test "bin4a"
-stap_run_binary $srcdir/$subdir/$test.stp
diff --git a/testsuite/systemtap.printf/bin4a.stp b/testsuite/systemtap.printf/bin4a.stp
deleted file mode 100644 (file)
index 40bbec7..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-# test of 32-bit binary prints
-# Also tests big_endian4()
-
-probe begin 
-{
-       printf("%4b", big_endian4(0x12))
-       printf("%4b", big_endian4(0x34))
-       printf("%4b%4b", big_endian4(0xabcdef00), big_endian4(0x5678))
-       a = big_endian4(0x12345678)
-       b = big_endian4(0x11112222)
-       c = big_endian4(0x88889999)
-       d = big_endian4(0xcdef0000)
-       printf("%4b%4b%4b%4b", a, b, c, d)
-       printf("a=%4b b=%4b c=%4b d=%4b",a,b,c,d)
-       exit()
-}
index 05069961bff77ca833ebc15a1014a52b084f7123..0f797f97cab551646be20d4f8f8645e64674bf36 100644 (file)
@@ -15,5 +15,3 @@ cd ef 20 62 3d 11 11 22
 
 set test "bin5"
 stap_run_binary $srcdir/$subdir/$test.stp
-set test "bin5a"
-stap_run_binary $srcdir/$subdir/$test.stp
diff --git a/testsuite/systemtap.printf/bin5a.stp b/testsuite/systemtap.printf/bin5a.stp
deleted file mode 100644 (file)
index ebee2e0..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# test of 64-bit binary prints
-# need to use big_endian8() to get consistent results across 
-# different-endian architectures.
-
-probe begin 
-{
-       printf("%8b", big_endian8(0x12))
-       printf("%8b", big_endian8(0x34))
-       printf("%8b%8b", big_endian8(0xabcd000011112222), big_endian8(0x5678567856785678))
-       a = big_endian8(0x0012345678abcdef)
-       b = big_endian8(0x1111222233334444)
-       c = big_endian8(0x88889999aaaabbbb)
-       d = big_endian8(0xcdef000011112222)
-       printf("%8b%8b%8b%8b", a, b, c, d)
-       printf("a=%8b b=%8b c=%8b d=%8b",a,b,c,d)
-       exit()
-}
index 7675078c4929a59428efa2d19108bab9b3a46312..2cab7c14080bb4a26065acb7710066f21665fb52 100644 (file)
@@ -1,7 +1,7 @@
 set test "pfaults"
 if {![installtest_p]} { untested $test; return }
 
-spawn stap -g $srcdir/$subdir/pfaults.stp
+spawn stap -DMAXACTION=10000 -g $srcdir/$subdir/pfaults.stp
 set pid $spawn_id
 set ok 0
 expect {
index 249a1589e14338c6449b45d06dcb1547add2d47d..9ca9da1525ebc6c2e2584211ad73881bc94105b3 100644 (file)
@@ -1,7 +1,7 @@
 set test "profile"
 if {![installtest_p]} { untested $test; return }
 
-spawn stap $srcdir/$subdir/profile.stp
+spawn stap -DMAXMAPENTRIES=10000 $srcdir/$subdir/profile.stp
 set ok 0
 expect {
     -timeout 360
This page took 0.041493 seconds and 5 git commands to generate.