aboutsummaryrefslogtreecommitdiff
path: root/src/processor/microdump_stackwalk_test
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2016-11-23 18:01:18 -0500
committerMike Frysinger <vapier@chromium.org>2016-11-25 04:53:01 +0000
commit7515ab13768c7edc09f0f2ec2354dc6c928239a6 (patch)
tree84635b9198512522864cab7793ce2b2d46a10d57 /src/processor/microdump_stackwalk_test
parentUpgrade google test to 1.8.0 (diff)
downloadbreakpad-7515ab13768c7edc09f0f2ec2354dc6c928239a6.tar.xz
microdump_stackwalk_test: fix bashism in test
These are /bin/sh scripts, and `source` is a bash-specific command. Switch to the portable `.` command instead. Change-Id: I51d8253b26aa61c130bb5fdc4789f8d623c6d9db Reviewed-on: https://chromium-review.googlesource.com/414524 Reviewed-by: Primiano Tucci <primiano@chromium.org>
Diffstat (limited to 'src/processor/microdump_stackwalk_test')
-rwxr-xr-xsrc/processor/microdump_stackwalk_test2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/processor/microdump_stackwalk_test b/src/processor/microdump_stackwalk_test
index 5a1f3d59..e1897656 100755
--- a/src/processor/microdump_stackwalk_test
+++ b/src/processor/microdump_stackwalk_test
@@ -29,7 +29,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-source "${0%/*}/microdump_stackwalk_test_vars" # for MICRODUMP_SUPPORTED_ARCHS.
+. "${0%/*}/microdump_stackwalk_test_vars" || exit 1 # for MICRODUMP_SUPPORTED_ARCHS.
testdata_dir=$srcdir/src/processor/testdata
set -e # Bail out with an error if any of the commands below fails.