<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div>
<blockquote dir="auto">
<ul>
<li>we add a function in <code>tests/scripts/common.sh</code> that exits with 77 (SKIP) if not running on bash. Let's name is <code>skip_if_not_bash()</code>.</li>
<li>add a call to skip_if_not_bash() for scripts that require bash</li>
</ul>
</blockquote>
<p dir="auto">Wouldn't that mean that these tests will run only if <code>/bin/sh</code> is bash? In the freebsd runners bash is <code>/usr/local/bin/bash</code> and these tests are currently running there. With the new approach they will not.</p>
<blockquote dir="auto">
<p>That means devs can focus on writing test scripts for bash. If they break the Alpine runner, the dev just adds a call to skip_if_not_bash() <em>or</em> fixes the bashism. Whatever suits best.</p>
</blockquote>
<p dir="auto">Why cannot we install bash on alpine?</p>
<blockquote dir="auto">
<p>This MR has more than fixing bashisms. There is also a signal/abort (SIGABRT) issue being fixed. And several usages of diff options (-I) have been replaced by grep. This is also pretty trivial.</p>
</blockquote>
<p dir="auto">Ok, let me check it in detail.</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/merge_requests/809#note_119164608">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/b6ec9ed7e935395da3fea65c59a38fd3/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Merge request","url":"https://gitlab.com/gnutls/gnutls/merge_requests/809#note_119164608"}}</script>
</p>
</div>
</body>
</html>