diff options
author | Daiki Ueno <ueno@gnu.org> | 2020-10-03 16:42:07 +0000 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2020-10-03 16:42:07 +0000 |
commit | 6f034aa2e9f140626de2b9413715651dffe9e394 (patch) | |
tree | 0a594b8b65bddc9303e1fd6dcc80807e3a79e602 /tests/cert-tests/reject-invalid-time | |
parent | 12a3bb06a19c78607e9f2a0a59c2e71f43a22b8b (diff) | |
parent | 2c1d544c5d9ad12afec09cc6ede40aa8f4693fd2 (diff) | |
download | gnutls-6f034aa2e9f140626de2b9413715651dffe9e394.tar.gz |
Merge branch 'tmp-sh-tests' into 'master'
tests: simplify shell-script usage
See merge request gnutls/gnutls!1337
Diffstat (limited to 'tests/cert-tests/reject-invalid-time')
-rwxr-xr-x | tests/cert-tests/reject-invalid-time | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/cert-tests/reject-invalid-time b/tests/cert-tests/reject-invalid-time index 39aa5c4ca5..27b3f3c758 100755 --- a/tests/cert-tests/reject-invalid-time +++ b/tests/cert-tests/reject-invalid-time @@ -19,10 +19,10 @@ #set -e -srcdir="${srcdir:-.}" -CERTTOOL="${CERTTOOL:-../../src/certtool${EXEEXT}}" -PKGCONFIG="${PKG_CONFIG:-$(which pkg-config)}" -DIFF="${DIFF:-diff -b -B}" +: ${srcdir=.} +: ${CERTTOOL=../../src/certtool${EXEEXT}} +: ${PKG_CONFIG=pkg-config} +: ${DIFF=diff -b -B} if ! test -x "${CERTTOOL}"; then exit 77 @@ -32,9 +32,9 @@ if ! test -z "${VALGRIND}"; then VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND}" fi -${PKGCONFIG} --version >/dev/null || exit 77 +${PKG_CONFIG} --version >/dev/null || exit 77 -${PKGCONFIG} --atleast-version=4.12 libtasn1 || exit 77 +${PKG_CONFIG} --atleast-version=4.12 libtasn1 || exit 77 # Check whether certificates with invalid time fields are accepted for file in openssl-invalid-time-format.pem;do |