]> sourceware.org Git - systemtap.git/commit
BZ1099757: vars.exp: fix and strengthen
authorJonathan Lebon <jlebon@redhat.com>
Wed, 28 May 2014 15:12:18 +0000 (11:12 -0400)
committerJonathan Lebon <jlebon@redhat.com>
Wed, 28 May 2014 15:12:18 +0000 (11:12 -0400)
commit99e55de1653be8967cab9d8d8044d847a574e88f
tree94a6701ac700e9b8b0615bf696f3fdc199e3975b
parent775ccddfaa1965907bda0208268d6a2d9c4e2cf5
BZ1099757: vars.exp: fix and strengthen

Since PR16615 (merge commit 4636ca3), linenos in statement probes have
become more precise and stringent. As a result, vars.exp was failing
because it was trying to probe a statement at a lineno with no line
records.

We fix this by first retrieving the first valid lineno using stap -l.
The test has also been refactored in general to be more robust. We can
now more easily add more functions to test (e.g. we now test both
bio_copy_user() and vfs_read()).
testsuite/systemtap.base/vars.exp
This page took 0.027891 seconds and 5 git commands to generate.