Solaris self test failures
Description of problem:
GnuTLS 3.6.8 experiences some self test failures on Solaris i86pc.
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
Edited by Jeffrey Walton