diff options
author | Josh Stone <jistone@redhat.com> | 2009-03-11 20:30:58 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-03-11 20:41:25 -0700 |
commit | 6769e48794cfbeda3957f691077fb9d65f3e87bc (patch) | |
tree | c0c5ca23e400a9b02daf1c34fe5958f3f7888ed6 /testsuite/systemtap.base/tracepoints.exp | |
parent | 139dee87b8824df4d7562a980e886a6e6f0b8308 (diff) | |
download | systemtap-steved-6769e48794cfbeda3957f691077fb9d65f3e87bc.tar.gz systemtap-steved-6769e48794cfbeda3957f691077fb9d65f3e87bc.tar.xz systemtap-steved-6769e48794cfbeda3957f691077fb9d65f3e87bc.zip |
Add test to compile and run all tracepoints
This checks that kernel.trace("*") will compile, with all context
variables accessed as well. For kernels without tracepoints, it will
just hit a "begin" and quit.
This doesn't ensure that kernel.trace("*") will always find something
when it should, though...
Diffstat (limited to 'testsuite/systemtap.base/tracepoints.exp')
-rw-r--r-- | testsuite/systemtap.base/tracepoints.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/tracepoints.exp b/testsuite/systemtap.base/tracepoints.exp new file mode 100644 index 00000000..bea461c4 --- /dev/null +++ b/testsuite/systemtap.base/tracepoints.exp @@ -0,0 +1,3 @@ +set test "tracepoints" +set ::result_string {tracepoints OK} +stap_run2 $srcdir/$subdir/$test.stp |