summaryrefslogtreecommitdiff
path: root/tests/nist-pkits
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nist-pkits')
-rwxr-xr-xtests/nist-pkits/pkits2
-rwxr-xr-xtests/nist-pkits/pkits_crl4
-rwxr-xr-xtests/nist-pkits/pkits_crt4
-rwxr-xr-xtests/nist-pkits/pkits_pkcs124
-rwxr-xr-xtests/nist-pkits/pkits_smime4
-rwxr-xr-xtests/nist-pkits/pkits_test2
6 files changed, 10 insertions, 10 deletions
diff --git a/tests/nist-pkits/pkits b/tests/nist-pkits/pkits
index ac7221244e..0bdd337223 100755
--- a/tests/nist-pkits/pkits
+++ b/tests/nist-pkits/pkits
@@ -20,7 +20,7 @@
set -e
-srcdir="${srcdir:-.}"
+: ${srcdir=.}
echo "Running PKITS CRT..."
"${srcdir}/pkits_crt"
diff --git a/tests/nist-pkits/pkits_crl b/tests/nist-pkits/pkits_crl
index 6c3e92d606..58e630d76c 100755
--- a/tests/nist-pkits/pkits_crl
+++ b/tests/nist-pkits/pkits_crl
@@ -18,8 +18,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-srcdir="${srcdir:-.}"
-CERTTOOL="${CERTTOOL:-../../src/certtool}"
+: ${srcdir=.}
+: ${CERTTOOL=../../src/certtool}
test -d crls || unzip "${srcdir}/PKITS_data.zip"
diff --git a/tests/nist-pkits/pkits_crt b/tests/nist-pkits/pkits_crt
index 92b69bd855..630acdb688 100755
--- a/tests/nist-pkits/pkits_crt
+++ b/tests/nist-pkits/pkits_crt
@@ -18,8 +18,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-srcdir="${srcdir:-.}"
-CERTTOOL="${CERTTOOL:-../../src/certtool}"
+: ${srcdir=.}
+: ${CERTTOOL=../../src/certtool}
test -d certs || unzip "${srcdir}/PKITS_data.zip"
diff --git a/tests/nist-pkits/pkits_pkcs12 b/tests/nist-pkits/pkits_pkcs12
index 0b34cb9a6f..fd4b6860f2 100755
--- a/tests/nist-pkits/pkits_pkcs12
+++ b/tests/nist-pkits/pkits_pkcs12
@@ -18,8 +18,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-srcdir="${srcdir:-.}"
-CERTTOOL="${CERTTOOL:-../../src/certtool}"
+: ${srcdir=.}
+: ${CERTTOOL=../../src/certtool}
test -d pkcs12 || unzip "${srcdir}/PKITS_data.zip"
diff --git a/tests/nist-pkits/pkits_smime b/tests/nist-pkits/pkits_smime
index 62da9c95b4..c0b74b93dd 100755
--- a/tests/nist-pkits/pkits_smime
+++ b/tests/nist-pkits/pkits_smime
@@ -18,8 +18,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-srcdir="${srcdir:-.}"
-CERTTOOL=${CERTTOOL:-../../src/certtool}
+: ${srcdir=.}
+: ${CERTTOOL=../../src/certtool}
test -d smime || unzip "${srcdir}/PKITS_data.zip"
diff --git a/tests/nist-pkits/pkits_test b/tests/nist-pkits/pkits_test
index 49feecb951..adf999c9c9 100755
--- a/tests/nist-pkits/pkits_test
+++ b/tests/nist-pkits/pkits_test
@@ -2,7 +2,7 @@
set -e
-srcdir="${srcdir:-.}"
+: ${srcdir=.}
test -d certs || unzip "${srcdir}/PKITS_data.zip"