From: Ed Maste Date: Sat, 5 Nov 2016 14:45:13 +0000 (+0000) Subject: make-core.sh: add FreeBSD support X-Git-Tag: llvmorg-4.0.0-rc1~5431 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b30841ae95bcf8244745f96bfb7098bcfef5f039;p=platform%2Fupstream%2Fllvm.git make-core.sh: add FreeBSD support Differential Revision: https://reviews.llvm.org/D26315 llvm-svn: 286035 --- diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/make-core.sh b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/make-core.sh index efe1b80..9dd83f1 100755 --- a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/make-core.sh +++ b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/make-core.sh @@ -1,4 +1,30 @@ -#! /bin/bash +#! /bin/sh + +linux_check_core_pattern() +{ + if grep -q '^|' &2 + exit 1 + ;; +esac set -e -x @@ -10,13 +36,8 @@ EOF exit 1 fi -if grep -q '^|' smaller core files.