diff options
author | David Howells <dhowells@redhat.com> | 2014-03-04 17:30:45 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2014-03-06 15:13:07 +0000 |
commit | c826acbcf4406fe1f07578f54bc4e9a7ab547afd (patch) | |
tree | 708259c18886a870c76d3b9874d0a99f8e306738 | |
parent | 3b7d25f87c410783b40941612c0965497daad53c (diff) | |
download | keyutils-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.sh | 5 |
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 |