summaryrefslogtreecommitdiff
path: root/tests/run_vbutil_tests.sh
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2010-06-11 09:22:13 -0700
committerRandall Spangler <rspangler@chromium.org>2010-06-11 09:22:13 -0700
commit7d6898dbaa8d530dd534d4680e274f7059e4a389 (patch)
tree8ab31b219b12d3b8404dc9fe707fa21e35080673 /tests/run_vbutil_tests.sh
parentf1372d9109d638fbb1a177a89ebaf64e7ee0637e (diff)
downloadvboot-7d6898dbaa8d530dd534d4680e274f7059e4a389.tar.gz
Added vbutil_kernel.
Review URL: http://codereview.chromium.org/2730011
Diffstat (limited to 'tests/run_vbutil_tests.sh')
-rwxr-xr-xtests/run_vbutil_tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run_vbutil_tests.sh b/tests/run_vbutil_tests.sh
index 0e8beef8..f3e75940 100755
--- a/tests/run_vbutil_tests.sh
+++ b/tests/run_vbutil_tests.sh
@@ -69,7 +69,7 @@ ${datahashalgo}${COL_STOP}"
# Pack
${UTIL_DIR}/vbutil_keyblock --pack ${keyblockfile} \
--datapubkey \
- tests/testkeys/key_alg${data_algorithmcounter}.vbpubk \
+ ${TESTKEY_DIR}/key_alg${data_algorithmcounter}.vbpubk \
--signprivate ${TESTKEY_DIR}/key_rsa${signing_keylen}.pem \
--algorithm $signing_algorithmcounter
if [ $? -ne 0 ]
@@ -80,7 +80,7 @@ ${datahashalgo}${COL_STOP}"
# Unpack
${UTIL_DIR}/vbutil_keyblock --unpack ${keyblockfile} \
--signpubkey \
- tests/testkeys/key_alg${signing_algorithmcounter}.vbpubk
+ ${TESTKEY_DIR}/key_alg${signing_algorithmcounter}.vbpubk
# TODO: check data key against the packed one?
if [ $? -ne 0 ]
then