summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2014-03-25 17:00:40 +0000
committerDavid Howells <dhowells@redhat.com>2014-03-25 17:00:40 +0000
commitab3054e536739ca2183943d35358887acfc2a3d1 (patch)
treec2515c92f415b25c76fc13e7c3a6d129a9b3d0ed
parent2e050a124bff1c7d86a4e9f5b75ea34559f6cceb (diff)
downloadkeyutils-tests-devel.tar.gz
TEST: 'keyctl invalidate' exists from keyutils-1.5.6, not keyutils-3.5-rc1tests-devel
Fix mixed up version number checking. 3.5-rc1 is a kernel version number, not a keyutils one. Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r--tests/prepare.inc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/prepare.inc.sh b/tests/prepare.inc.sh
index ee09775..bbbdcba 100644
--- a/tests/prepare.inc.sh
+++ b/tests/prepare.inc.sh
@@ -73,7 +73,7 @@ fi
# Work out whether key invalidation is supported by the kernel
#
have_key_invalidate=0
-if keyutils_at_or_later_than 3.5-rc1 && kernel_at_or_later_than 3.5-rc1
+if keyutils_at_or_later_than 1.5.6 && kernel_at_or_later_than 3.5-rc1
then
have_key_invalidate=1
fi