summaryrefslogtreecommitdiffstats
path: root/tests/backtrace-subr.sh
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2018-07-20 17:32:32 +0200
committerUlf Hermann <[email protected]>2018-07-23 08:43:10 +0000
commit241cd39e157759e52f0ae41d30675f665df7e518 (patch)
treecb8dcc348b90b6a016616c30b631312a43f9f3d7 /tests/backtrace-subr.sh
parent314976578cf6027c075295b7fdb2e9115b3b1fd8 (diff)
Don't match line ending when using grep to search for error message
We are relying on the version of grep being used to recognize the platform specific line endings. In principle it should, but the reality turns out to be ... complicated. This message is unique enough to not require the additional qualification of "at end of line". Change-Id: I8241b023e759c9b57e050b07995cad0683c4bf35 Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'tests/backtrace-subr.sh')
-rw-r--r--tests/backtrace-subr.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backtrace-subr.sh b/tests/backtrace-subr.sh
index ff42c6ff..ec8ebd07 100644
--- a/tests/backtrace-subr.sh
+++ b/tests/backtrace-subr.sh
@@ -83,7 +83,7 @@ check_unsupported()
{
err=$1
testname=$2
- if grep -q ': Unwinding not supported for this architecture$' $err; then
+ if grep -q ': Unwinding not supported for this architecture' $err; then
echo >&2 $testname: arch not supported
exit 77
fi