commit | 70c50c9243666aedc6a5a7d084600f6b773a709a | [log] [tgz] |
---|---|---|
author | Randall Spangler <[email protected]> | Tue Mar 22 17:26:49 2011 |
committer | Randall Spangler <[email protected]> | Tue Mar 22 17:26:49 2011 |
tree | 1619ae945da829e7fec9d81da40633b600fb7ae5 | |
parent | 85d55e287347401a779df438d57e7b10c9d57048 [diff] |
Add error checking for poorly-formed crossystem args [email protected] BUG=chromium-os:13322 TEST=manual The following command lines should cause crossystem to fail with a warning about a poorly formed parameter: crossystem '' crossystem '=cros_debug' crossystem '?cros_debug' The following command line should warn that you can't use both = and ?: crossystem cros_debug?=0 (that is, it warns, not just compares with '=0') The following should print 'UNEQUAL' crossystem cros_debug? || echo UNEQUAL (because it's comparing cros_debug with an empty string) Review URL: http://codereview.chromium.org/6718012 Change-Id: I2e2851515f4914b16aba64065600fb92d9ad1a63 (cherry picked from commit f27583f08361522909e49155d8b14671f644ec85) Review URL: http://codereview.chromium.org/6675014