From 053592bd3d5fcb79b8fa3a6f6193ffedfc041dba Mon Sep 17 00:00:00 2001 From: Daisuke Nojiri Date: Wed, 12 Aug 2020 15:46:30 -0700 Subject: inclusive: change usage of sanity Google is working to change its source code to use more inclusive language. To that end, replace the term "sanity" with inclusive alternatives. BUG=b:163883397 BRANCH=None TEST=grep -ir sanity TEST=make runtests Signed-off-by: Daisuke Nojiri Change-Id: I708a044d89050c442f14fb11a8ae5e98490d56af Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2353420 Reviewed-by: Julius Werner --- utility/chromeos-tpm-recovery | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'utility') diff --git a/utility/chromeos-tpm-recovery b/utility/chromeos-tpm-recovery index 28a8fa3d..ac7dfcc9 100755 --- a/utility/chromeos-tpm-recovery +++ b/utility/chromeos-tpm-recovery @@ -39,9 +39,9 @@ use_v0_secdata_kernel() { return 0 fi - # First some sanity checks: X -eq X checks that X is a number. cut may return - # the whole string if no delimiter found, so major != minor checks that the - # version was at least somewhat correctly formatted. + # First some validity checks: X -eq X checks that X is a number. cut may + # return the whole string if no delimiter found, so major != minor checks that + # the version was at least somewhat correctly formatted. if [ $major -eq $major ] && [ $minor -eq $minor ] && [ $major -ne $minor ]; then # Now what we really care about: is this firmware older than CL:2041695? if [ $major -lt 12953 ]; then @@ -147,7 +147,7 @@ restart_daemon_if_needed() { # MAIN PROGRAM # ------------ -# Sanity check: are we executing in a recovery image? +# validity check: are we executing in a recovery image? if [ -e $dot_recovery ]; then quit "This is a developer utility, it should never run on a (production) recovery image" -- cgit v1.2.1