[gnutls-devel] GnuTLS | tests: simplify shell-script usage (!1337)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Sep 25 09:06:29 CEST 2020




Daiki Ueno commented on a discussion: https://gitlab.com/gnutls/gnutls/-/merge_requests/1337#note_418534537

It's better to use `git grep` as we don't care submodules etc:
```sh
$ git grep -E '^[A-Za-z_][A-Za-z_]*="?\$\{[A-Za-z_][A-Za-z_]*:-'
fuzz/run-afl.sh:srcdir="${srcdir:-.}"
tests/cert-tests/reject-invalid-time:PKGCONFIG="${PKG_CONFIG:-$(which pkg-config)}"
tests/cert-tests/tolerate-invalid-time:PKGCONFIG="${PKG_CONFIG:-$(which pkg-config)}"
tests/nist-pkits/pkits_smime:CERTTOOL=${CERTTOOL:-../../src/certtool}
tests/p11-kit-load.sh:PKGCONFIG="${PKG_CONFIG:-$(which pkg-config)}"
tests/pkgconfig.sh:PKGCONFIG="${PKG_CONFIG:-$(which pkg-config)}"
tests/pkgconfig.sh:CC=${CC:-cc}
tests/system-override-default-priority-string.sh:STOCK_PRIORITY="${GNUTLS_SYSTEM_PRIORITY_FILE:-./system.prio}"
```
I'll fix them as well.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1337#note_418534537
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/20200925/205c7250/attachment.html>


More information about the Gnutls-devel mailing list