[gnutls-devel] GnuTLS | Solaris self test failures (#785)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Sat Jun 8 00:31:21 CEST 2019
Tthe shebang conversion worked well. It was performed after `configure`.
```
echo "Patching Shell Scripts"
for file in $(find "$PWD" -name '*.sh')
do
# Fix shell
cp -p "$file" "$file.fixed"
sed -e 's|#!/bin/sh|#!/usr/bin/env bash|g' "$file" > "$file.fixed"
mv "$file.fixed" "$file"
done
```
The `cp -p` retained the original filetimes so Autotools did not do its shit.
-----
After the change the `netsat` issue remains. It looks like the `-l` (lower el) option is not available.
```
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]
try 1
/usr/bin/netstat: illegal option -- l
...
```
The [`-l` option](https://linux.die.net/man/8/netstat) lists listening sockets. It looks like `netstat -a | grep -i -E 'listen'` will handle that:
```
$ netstat -a
...
TCP: IPv4
Local Address Remote Address Swind Send-Q Rwind Recv-Q State
-------------------- -------------------- ------- ------ ------- ------ -----------
solaris3.5999 *.* 0 0 128000 0 LISTEN
solaris3.4999 *.* 0 0 128000 0 LISTEN
*.sunrpc *.* 0 0 128000 0 LISTEN
*.* *.* 0 0 128000 0 IDLE
*.sunrpc *.* 0 0 128000 0 LISTEN
*.* *.* 0 0 128000 0 IDLE
...
TCP: IPv6
Local Address Remote Address Swind Send-Q Rwind Recv-Q State If
--------------------------------- --------------------------------- ------- ------ ------- ------ ----------- -----
solaris3.5999 *.* 0 0 128000 0 LISTEN
*.sunrpc *.* 0 0 128000 0 LISTEN
*.* *.* 0 0 128000 0 IDLE
...
```
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/785#note_179147218
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/d1164ca0/attachment.html>
More information about the Gnutls-devel
mailing list