diff options
author | Hung-Te Lin <hungte@chromium.org> | 2013-03-21 13:02:46 +0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-03-20 23:47:53 -0700 |
commit | 64ee1530ee55f70a5e65d80cbf584971d7beb1e4 (patch) | |
tree | 4b098da9d16535e2ce06f294bf613f69d0b2cd28 /tests/vboot_api_firmware_tests.c | |
parent | 3f806a2abf07d7b801852a4a6f3a9080a4b5c427 (diff) | |
download | vboot-release-R27-3912.B.tar.gz |
crossystem: Fix cros_debug detection on non-chrome systems.toolchainAstabilize-3912.79.Brelease-R27-3912.B
"cros_debug" is usually the last token of kernel command line on UEFI/legacy
BIOS systems.
However, kernel command line may end with new line ("\n") and that may cause
strcmp to fail (i.e., can't detect "cros_debug" if it's the last parameter in
command line), so we need to add that into strtok delimiters.
BRANCH=none
BUG=chromium:222248
TEST=crossystem cros_debug # display 1 on UEFI system with cros_debug
Change-Id: I9aed1562291469118acbadcc5211ff5c45eb9feb
Reviewed-on: https://gerrit.chromium.org/gerrit/46106
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'tests/vboot_api_firmware_tests.c')
0 files changed, 0 insertions, 0 deletions