summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2009-04-01 15:48:24 -0400
committerStan Cox <scox@redhat.com>2009-04-01 15:48:24 -0400
commit952ce18c9672046c052fc77d5da8f98e8ae75735 (patch)
tree2b817cebd7db30900b90251acab8ad5cd3979c73 /testsuite
parentf34b7eea333adc0bc9dc8e51445c2bbc39e9bc82 (diff)
downloadsystemtap-steved-952ce18c9672046c052fc77d5da8f98e8ae75735.tar.gz
systemtap-steved-952ce18c9672046c052fc77d5da8f98e8ae75735.tar.xz
systemtap-steved-952ce18c9672046c052fc77d5da8f98e8ae75735.zip
Use alloca trick to keep argN active on GCC 4.1.
* includes/sys/sdt.h (STAP_UNINLINE): New. (STAP_UNINLINE_LABEL): New. static_uprobes.exp: Match using charset instead of .*
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/systemtap.base/static_uprobes.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.base/static_uprobes.exp b/testsuite/systemtap.base/static_uprobes.exp
index 820626b8..d6b6e1e3 100644
--- a/testsuite/systemtap.base/static_uprobes.exp
+++ b/testsuite/systemtap.base/static_uprobes.exp
@@ -196,7 +196,7 @@ set ok 0
spawn stap -l "process(\"./sdt_types.x\").mark(\"*\")"
expect {
-timeout 180
- -re {mark\(\".*\"\)} { incr ok; exp_continue }
+ -re {mark\(\"[a-z_]+\"\)} { incr ok; exp_continue }
timeout { fail "$test C (timeout)" }
eof { }
}