]> sourceware.org Git - systemtap.git/commit
stmt_rel.exp: relax requirement for PASS
authorJonathan Lebon <jlebon@redhat.com>
Tue, 10 Jun 2014 21:36:39 +0000 (17:36 -0400)
committerJonathan Lebon <jlebon@redhat.com>
Wed, 11 Jun 2014 15:17:57 +0000 (11:17 -0400)
commitd43ef556a32b72aa8833a759cd034b21f6b4c3ff
treed17708e46edf0490e90267764b96c0f528924d08
parent8cc0dc1a6aa6e0e6c89dad33b25e4bc46946101c
stmt_rel.exp: relax requirement for PASS

We previously required that all linenos accessible through wildcards
were the same set as all linenos individually accessible through
relative numbering.

The issue is that two linenos may correspond to the same address (e.g.
due to optimization), in which case a wildcard probe would only pick up
the first lineno (since the second lineno would be eliminated due to
being the same address), which two individual relative probes for these
two linenos would both resolve.

So instead, this test now simply checks that all the linenos which were
found in the wildcard probe were also accessible through relative lineno
(i.e. a subtest test instead of equality test).
testsuite/systemtap.base/stmt_rel.exp
This page took 0.027514 seconds and 5 git commands to generate.