Improved regexp test for pmap
authorPierre Labastie <pierre.labastie@neuf.fr>
Sun, 7 Apr 2013 08:31:26 +0000 (18:31 +1000)
committerCraig Small <csmall@enc.com.au>
Sun, 7 Apr 2013 08:31:26 +0000 (18:31 +1000)
commit1b63eb86710965d6fdb9f3db5afc34530868323b
tree816e8fa29ce35ff065dce05cf3e259bd586de733
parent7888f6a679e35e9a864a95575b1a8f14d8f0ec8d
Improved regexp test for pmap

The change in pmap is necessary if it happens that the whole output of
pmap -X or -XX has been done before the second regexp is matched. Since
the matching is greedy, it is matched by the full output, so that
nothing is left for the third regexp and the test fails with
FAIL: extra extended output (footer).

Reference: http://comments.gmane.org/gmane.linux.lfs.devel/13961

Signed-off-by: Craig Small <csmall@enc.com.au>
testsuite/pmap.test/pmap.exp