aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMat Martineau <mathew.j.martineau@linux.intel.com>2016-10-20 16:55:45 -0700
committerDavid Howells <dhowells@redhat.com>2016-12-13 14:05:37 +0000
commit016f58e7751f8e3180f076c35688c3bd2319bf48 (patch)
treeb33163ecea682986bb36b59167361d47be8fdfb3
parentce17c028892cb18b27b34188ab89f2a275d3b0b8 (diff)
downloadkeyutils-016f58e7751f8e3180f076c35688c3bd2319bf48.tar.gz
TEST: Use correct variable when checking for DH functionality
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r--tests/keyctl/dh_compute/noargs/runtest.sh2
-rw-r--r--tests/keyctl/dh_compute/valid/runtest.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/keyctl/dh_compute/noargs/runtest.sh b/tests/keyctl/dh_compute/noargs/runtest.sh
index 3795f4b..e761f6b 100644
--- a/tests/keyctl/dh_compute/noargs/runtest.sh
+++ b/tests/keyctl/dh_compute/noargs/runtest.sh
@@ -6,7 +6,7 @@
# ---- do the actual testing ----
-if [ $have_key_invalidate = 0 ]
+if [ $have_dh_compute = 0 ]
then
toolbox_skip_test $TEST "SKIPPING DUE TO LACK OF DIFFIE-HELLMAN"
exit 0
diff --git a/tests/keyctl/dh_compute/valid/runtest.sh b/tests/keyctl/dh_compute/valid/runtest.sh
index f21cb11..40ec387 100644
--- a/tests/keyctl/dh_compute/valid/runtest.sh
+++ b/tests/keyctl/dh_compute/valid/runtest.sh
@@ -6,7 +6,7 @@
# ---- do the actual testing ----
-if [ $have_key_invalidate = 0 ]
+if [ $have_dh_compute = 0 ]
then
toolbox_skip_test $TEST "SKIPPING DUE TO LACK OF DIFFIE-HELLMAN"
exit 0