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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
73 # TODO: re-enable when tests are ported to new vboot | 73 echo |
74 #echo | 74 echo "Testing high-level firmware image verification..." |
75 #echo "Testing high-level firmware image verification..." | 75 test_firmware_verification |
76 #test_firmware_verification | |
77 | 76 |
78 echo | 77 echo |
79 echo "Testing high-level kernel image verification..." | 78 echo "Testing high-level kernel image verification..." |
80 test_kernel_verification | 79 test_kernel_verification |
81 | 80 |
82 exit $return_code | 81 exit $return_code |
OLD | NEW |