aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2014-03-04 17:30:45 +0000
committerDavid Howells <dhowells@redhat.com>2014-03-06 15:13:07 +0000
commitc826acbcf4406fe1f07578f54bc4e9a7ab547afd (patch)
tree708259c18886a870c76d3b9874d0a99f8e306738
parent3b7d25f87c410783b40941612c0965497daad53c (diff)
downloadkeyutils-c826acbcf4406fe1f07578f54bc4e9a7ab547afd.tar.gz
TEST: Don't use "%..." key search commands generally
Don't use "%..." key search commands generally in the testsuite so that more of it can be run on platforms for which the keyutils package installed doesn't support this feature. Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r--tests/bugzillas/bz1033467/runtest.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/bugzillas/bz1033467/runtest.sh b/tests/bugzillas/bz1033467/runtest.sh
index 3bcdb6e..54ec293 100644
--- a/tests/bugzillas/bz1033467/runtest.sh
+++ b/tests/bugzillas/bz1033467/runtest.sh
@@ -18,10 +18,11 @@ expect_keyid sandbox
# create a bunch of nested keyrings in the sandbox
marker "ADD NESTED KEYRINGS"
+declare -a ring
for ((i=0; i<=16; i++))
do
create_keyring ring$i $sandbox
- expect_keyid tmp
+ expect_keyid "ring[$i]"
done
# create a key in each of those keyrings
@@ -29,7 +30,7 @@ marker "ADD KEYS"
keys=""
for ((i=0; i<=16; i++))
do
- create_key user a$i a %:ring$i
+ create_key user a$i a ${ring[$i]}
expect_keyid id
keys="$keys $id"
done