[gnutls-devel] GnuTLS | Solaris self test failures (#785)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Jun 7 15:24:34 CEST 2019



New Issue was created.

Issue 785: https://gitlab.com/gnutls/gnutls/issues/785
Author:    Jeffrey Walton
Assignees: 

## Description of problem:

Solaris experiences some self test failures.

## Version of gnutls used:

GnuTLS 3.6.8

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)

GnuTLS from 3.6.8 source tarball. Fetched from https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/.

## How reproducible:

It is consistently reproducible.

Testing on Solaris 11.3 reveals some tool problems. Some examples of the issue are shown below.

I expect GnuTLS is OK.

```
FAIL: fastopen.sh
=================

Checking Fast open
./fastopen.sh[55]: eval[50]: local: not found [No such file or directory]
./fastopen.sh[55]: eval[51]: local: not found [No such file or directory]
PORT=27767 rc=1 myrandom=31881
./fastopen.sh[144]: local: not found [No such file or directory]
./fastopen.sh[145]: local: not found [No such file or directory]
...
```

And:

```
...
./fastopen.sh[56]: local: not found [No such file or directory]
./fastopen.sh[57]: local: not found [No such file or directory]
/usr/bin/netstat: illegal option -- l
usage: /usr/bin/netstat [-anuvR] [-f address_family] [-P protocol]
       /usr/bin/netstat [-n] [-f address_family] [-P protocol] [-T d|u] [-g | -p | -s [interval [count]]]
       /usr/bin/netstat -m [-v] [-T d|u] [interval [count]]
       /usr/bin/netstat -i [-I interface] [-an] [-f address_family] [-T d|u] [interval [count]]
       /usr/bin/netstat -r [-anv] [-f address_family|filter] [-T d|u]
       /usr/bin/netstat -M [-ns] [-f address_family] [-T d|u]
       /usr/bin/netstat -D [-I interface] [-f address_family] [-T d|u]
./fastopen.sh[50]: local: not found [No such file or directory]
./fastopen.sh[51]: local: not found [No such file or directory]
...
```

Solaris provides some anemic tools. They managed to provide `sed` and `awk` more anemic than Posix. `/usr/bin/netstat` is probably equally anemic. I typically use the tools in `/usr/gnu/bin/` to side-step it. Unfortunately, there is no corresponding tool in `/usr/gnu/bin`.

```
$ ls /usr/gnu/bin/netstat
/usr/gnu/bin/netstat: No such file or directory
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/785
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190607/c32fa8d3/attachment-0001.html>


More information about the Gnutls-devel mailing list