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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sat Jun 8 00:43:00 CEST 2019




Just noticed this, too:

```
$ /usr/gnu/bin/grep -IR 'netstat' gnutls-3.6.8
...
gnutls-3.6.8/tests/scripts/common.sh:   for file in $(which netstat 2> /dev/null) /bin/netstat /usr/bin/netstat /usr/local/bin/netstat;do
...
```

`$(command -v netstat)` is probably a better choice than which. `command -v` is Posix with well defined behavior. `which` can produce unusual results, depending on paths, aliases and several other factors. Also see [How to check if a program exists from a Bash script?](https://stackoverflow.com/q/592620/608639)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/785#note_179148311
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/9527c96e/attachment-0001.html>


More information about the Gnutls-devel mailing list