summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2017-05-07 01:26:20 -0400
committerchrome-bot <chrome-bot@chromium.org>2017-05-12 22:49:01 -0700
commit5fa64e2eae7d9cb4e911efb721fd55f729bcb615 (patch)
tree632ec8d7519556e18089a6b4bd8d68e001387a83
parenteb7c7632fed687f3394f61b5602984f48c53a8fb (diff)
downloadvboot-5fa64e2eae7d9cb4e911efb721fd55f729bcb615.tar.gz
image_signing: ensure_no_nonrelease_files.sh: convert to info/error helpers
This makes the output easier to follow when multiple scripts are being run. BRANCH=None BUG=chromium:714598 TEST=signing images still works Change-Id: I666d3f5beee4b4e3e9903d546ef66917990a659e Reviewed-on: https://chromium-review.googlesource.com/498231 Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: David Riley <davidriley@chromium.org>
-rwxr-xr-xscripts/image_signing/ensure_no_nonrelease_files.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/image_signing/ensure_no_nonrelease_files.sh b/scripts/image_signing/ensure_no_nonrelease_files.sh
index a3612cea..e83a2ba8 100755
--- a/scripts/image_signing/ensure_no_nonrelease_files.sh
+++ b/scripts/image_signing/ensure_no_nonrelease_files.sh
@@ -45,7 +45,7 @@ main() {
for file in ${release_file_blacklist}; do
if [ -e "${rootfs}/${file}" ]; then
- echo "FAIL: ${file} exists in this image!"
+ error "${file} exists in this image!"
ls -al "${rootfs}/${file}"
testfail=1
fi
@@ -56,8 +56,8 @@ main() {
local config_path="${rootfs}/etc/chrome_dev.conf"
local matches=$(grep -s "^[^#]" "${config_path}")
if [ -n "${matches}" ]; then
- echo "FAIL: Found commands in ${config_path}:"
- echo "${matches}"
+ error "Found commands in ${config_path}:"
+ error "${matches}"
testfail=1
fi