diff options
Diffstat (limited to 'tests/run_vboot_ec_tests.sh')
-rwxr-xr-x | tests/run_vboot_ec_tests.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/run_vboot_ec_tests.sh b/tests/run_vboot_ec_tests.sh new file mode 100755 index 00000000..b5b0e7b1 --- /dev/null +++ b/tests/run_vboot_ec_tests.sh @@ -0,0 +1,19 @@ +#!/bin/bash -eu + +# Copyright (c) 2010 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# Run verified boot firmware and kernel verification tests. + +# Load common constants and variables. +. "$(dirname "$0")/common.sh" + +check_test_keys + +for priv in ${TESTKEY_DIR}/*.vbprivk; do + root=$(basename ${i%.vbprivk}) + pub="${priv%.vbprivk}.vbpubk" + echo "Trying $root ..." + ${TEST_DIR}/vboot_ec_tests "$priv" "$pub" +done |