diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2018-07-20 17:40:23 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2018-07-23 09:49:51 +0000 |
commit | 6c9d1873487aa6070cb16c8c40268cb9fcd33e9c (patch) | |
tree | cdec5864e53813ed9fef4076cc676276ad407345 | |
parent | 9f701278e957beecab4c6425b5852c760bcaecd5 (diff) |
Don't match line endings with grep in linkmap-cut test
I don't think we can accidentally match these strings in any other place
and the line ending matches are brittle.
Change-Id: I880e23a89c56851b17e50d804ed949761c9c1955
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rwxr-xr-x | tests/run-linkmap-cut.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-linkmap-cut.sh b/tests/run-linkmap-cut.sh index de2bc7cc..2a3e21bd 100755 --- a/tests/run-linkmap-cut.sh +++ b/tests/run-linkmap-cut.sh @@ -28,5 +28,5 @@ tempfiles bt # .../elfutils/src/stack: dwfl_thread_getframes tid 3130 at 0x3fdf821d64 in /usr/lib64/libc-2.18.so: no matching address range testrun ${abs_top_builddir}/src/stack --core=linkmap-cut.core -e linkmap-cut -m >bt || true cat bt -grep -q '^#0 0x00007f08bc24d681 libfunc - .////////////////////////////////////linkmap-cut-lib\.so$' bt -grep -q '^#1 0x00000000004006b4 main - linkmap-cut$' bt +grep -q '^#0 0x00007f08bc24d681 libfunc - .////////////////////////////////////linkmap-cut-lib\.so' bt +grep -q '^#1 0x00000000004006b4 main - linkmap-cut' bt |