| 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 verified boot firmware and kernel verification tests. | 7 # Run verified boot firmware and kernel verification tests. |
| 8 | 8 |
| 9 # Load common constants and variables. | 9 # Load common constants and variables. |
| 10 . "$(dirname "$0")/common.sh" | 10 . "$(dirname "$0")/common.sh" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 fi | 62 fi |
| 63 let kernel_algorithmcounter=kernel_algorithmcounter+1 | 63 let kernel_algorithmcounter=kernel_algorithmcounter+1 |
| 64 done | 64 done |
| 65 done | 65 done |
| 66 let firmware_algorithmcounter=firmware_algorithmcounter+1 | 66 let firmware_algorithmcounter=firmware_algorithmcounter+1 |
| 67 done | 67 done |
| 68 done | 68 done |
| 69 } | 69 } |
| 70 | 70 |
| 71 check_test_keys | 71 check_test_keys |
| 72 |
| 72 echo | 73 echo |
| 73 echo "Testing high-level firmware image verification..." | 74 echo "Testing high-level firmware image verification..." |
| 74 test_firmware_verification | 75 test_firmware_verification |
| 75 | 76 |
| 76 echo | 77 echo |
| 77 echo "Testing high-level kernel image verification..." | 78 echo "Testing high-level kernel image verification..." |
| 78 test_kernel_verification | 79 test_kernel_verification |
| 79 | 80 |
| 80 exit $return_code | 81 exit $return_code |
| OLD | NEW |