New issue
Advanced search Search tips

Issue 638895 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Aug 2016
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Inconsistent crossystem behaviour when printing single parameter vs all parameters

Project Member Reported by norvez@chromium.org, Aug 18 2016

Issue description

Run inside a VM (so HWID does not exist)


localhost ~ # crossystem
[...]
hwid                   = (error)
[...]
localhost ~ # echo $?
0
localhost ~ #
localhost ~ # crossystem hwid
localhost ~ # echo $?
1
localhost ~ #

In the latter case, crossystem doesn't print anything, it should print "(error)". In the former case, crossystem always returns 0 even if there were failures, return code should be non-zero in that case.

 

Comment 1 by norvez@chromium.org, Aug 18 2016

Labels: -Pri-3 Pri-2
Status: Started (was: Assigned)

Comment 2 by norvez@chromium.org, Aug 19 2016

Status: WontFix (was: Started)
CL:372621 fixed the bug but that triggered bugs in tests that are relying on the current behaviour. There are probably other components that would fail if we fixed the tests and pushed the CL. Not worth it overall.

Sign in to add a comment