| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | 2 |
| 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 # Run tests for RSA Signature verification. | 7 # Run tests for RSA Signature verification. |
| 8 | 8 |
| 9 return_code=0 | 9 return_code=0 |
| 10 hash_algos=( sha1 sha256 sha512 ) | 10 hash_algos=( sha1 sha256 sha512 ) |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 TEST_DIR=${SCRIPT_DIR}/ | 82 TEST_DIR=${SCRIPT_DIR}/ |
| 83 | 83 |
| 84 echo "Generating test cases..." | 84 echo "Generating test cases..." |
| 85 pre_work | 85 pre_work |
| 86 | 86 |
| 87 echo | 87 echo |
| 88 echo "Testing signature verification..." | 88 echo "Testing signature verification..." |
| 89 test_signatures | 89 test_signatures |
| 90 | 90 |
| 91 echo | 91 echo |
| 92 echo "Testing high-level firmware image verification..." | |
| 93 test_firmware_verification | |
| 94 | |
| 95 echo | |
| 96 echo "Testing high-level kernel image verification..." | |
| 97 test_kernel_verification | |
| 98 | |
| 99 echo | |
| 100 echo "Cleaning up..." | 92 echo "Cleaning up..." |
| 101 cleanup | 93 cleanup |
| 102 | 94 |
| 103 exit $return_code | 95 exit $return_code |
| 104 | 96 |
| OLD | NEW |