<!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=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<div></div>
<h2 dir="auto">
<a id="user-content-description-of-problem" class="anchor" href="#description-of-problem" aria-hidden="true"></a>Description of problem:</h2>
<p dir="auto">Solaris experiences some self test failures.</p>
<h2 dir="auto">
<a id="user-content-version-of-gnutls-used" class="anchor" href="#version-of-gnutls-used" aria-hidden="true"></a>Version of gnutls used:</h2>
<p dir="auto">GnuTLS 3.6.8</p>
<h2 dir="auto">
<a id="user-content-distributor-of-gnutls-eg-ubuntu-fedora-rhel" class="anchor" href="#distributor-of-gnutls-eg-ubuntu-fedora-rhel" aria-hidden="true"></a>Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)</h2>
<p dir="auto">GnuTLS from 3.6.8 source tarball. Fetched from <a href="https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/" rel="nofollow noreferrer noopener" target="_blank">https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/</a>.</p>
<h2 dir="auto">
<a id="user-content-how-reproducible" class="anchor" href="#how-reproducible" aria-hidden="true"></a>How reproducible:</h2>
<p dir="auto">It is consistently reproducible.</p>
<p dir="auto">Testing on Solaris 11.3 reveals some tool problems. Some examples of the issue are shown below.</p>
<p dir="auto">I expect GnuTLS is OK.</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">FAIL: fastopen.sh</span>
<span id="LC2" class="line" lang="plaintext">=================</span>
<span id="LC3" class="line" lang="plaintext"></span>
<span id="LC4" class="line" lang="plaintext">Checking Fast open</span>
<span id="LC5" class="line" lang="plaintext">./fastopen.sh[55]: eval[50]: local: not found [No such file or directory]</span>
<span id="LC6" class="line" lang="plaintext">./fastopen.sh[55]: eval[51]: local: not found [No such file or directory]</span>
<span id="LC7" class="line" lang="plaintext">PORT=27767 rc=1 myrandom=31881</span>
<span id="LC8" class="line" lang="plaintext">./fastopen.sh[144]: local: not found [No such file or directory]</span>
<span id="LC9" class="line" lang="plaintext">./fastopen.sh[145]: local: not found [No such file or directory]</span>
<span id="LC10" class="line" lang="plaintext">...</span></code></pre>
<p dir="auto">And:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">...</span>
<span id="LC2" class="line" lang="plaintext">./fastopen.sh[56]: local: not found [No such file or directory]</span>
<span id="LC3" class="line" lang="plaintext">./fastopen.sh[57]: local: not found [No such file or directory]</span>
<span id="LC4" class="line" lang="plaintext">/usr/bin/netstat: illegal option -- l</span>
<span id="LC5" class="line" lang="plaintext">usage: /usr/bin/netstat [-anuvR] [-f address_family] [-P protocol]</span>
<span id="LC6" class="line" lang="plaintext">       /usr/bin/netstat [-n] [-f address_family] [-P protocol] [-T d|u] [-g | -p | -s [interval [count]]]</span>
<span id="LC7" class="line" lang="plaintext">       /usr/bin/netstat -m [-v] [-T d|u] [interval [count]]</span>
<span id="LC8" class="line" lang="plaintext">       /usr/bin/netstat -i [-I interface] [-an] [-f address_family] [-T d|u] [interval [count]]</span>
<span id="LC9" class="line" lang="plaintext">       /usr/bin/netstat -r [-anv] [-f address_family|filter] [-T d|u]</span>
<span id="LC10" class="line" lang="plaintext">       /usr/bin/netstat -M [-ns] [-f address_family] [-T d|u]</span>
<span id="LC11" class="line" lang="plaintext">       /usr/bin/netstat -D [-I interface] [-f address_family] [-T d|u]</span>
<span id="LC12" class="line" lang="plaintext">./fastopen.sh[50]: local: not found [No such file or directory]</span>
<span id="LC13" class="line" lang="plaintext">./fastopen.sh[51]: local: not found [No such file or directory]</span>
<span id="LC14" class="line" lang="plaintext">...</span></code></pre>
<p dir="auto">Solaris provides some anemic tools. They managed to provide <code>sed</code> and <code>awk</code> more anemic than Posix. <code>/usr/bin/netstat</code> is probably equally anemic. I typically use the tools in <code>/usr/gnu/bin/</code> to side-step it. Unfortunately, there is no corresponding tool in <code>/usr/gnu/bin</code>.</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">$ ls /usr/gnu/bin/netstat</span>
<span id="LC2" class="line" lang="plaintext">/usr/gnu/bin/netstat: No such file or directory</span></code></pre>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/issues/785">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/967d982aa88da978a1ef7ebcedd38203/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 Issue","url":"https://gitlab.com/gnutls/gnutls/issues/785"}}</script>

</p>
</div>
</body>
</html>