DescriptionAdd check_for_file and check_for_tool functions to common.sh
These functions make it easy to do testing in scripts for required
files and tools and provide useful error messages when the files
or tools are not found.
BUG=chromium-os:11981
TEST=run cros_sign_bootstub in configurations that test all paths in
these functions.
Change-Id: Ia63cfabd1eecba6473331b756486745d71e6b699
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=6f5262d
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use die instead of error. #
Total comments: 1
Patch Set 3 : Added comment about padding. #Messages
Total messages: 4 (0 generated)
|