]> sourceware.org Git - systemtap.git/commit
vars.exp: only parse out from first line of grep
authorJonathan Lebon <jlebon@redhat.com>
Wed, 11 Jun 2014 15:15:14 +0000 (11:15 -0400)
committerJonathan Lebon <jlebon@redhat.com>
Wed, 11 Jun 2014 15:17:58 +0000 (11:17 -0400)
commitebe89ef77c8741f6654293a9f54a40057e20bab5
treea08b591c3f76275cc7fad4b9b72026dbd6dda3f6
parent96f91efdf7dd3ce6a1cfe7e7c87ebde8e9c72f6e
vars.exp: only parse out from first line of grep

There can be multiple _stp_snprintf lines, in which case, the resulting
values for vars and parms can hold the same variables multiple times,
thus throwing off the test (see RHBZ1099757#c4).

Fix this by only using the first line output from grep.
testsuite/systemtap.base/vars.exp
This page took 0.026982 seconds and 5 git commands to generate.