summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2020-08-21 10:22:41 -0700
committerCommit Bot <commit-bot@chromium.org>2020-09-11 16:57:36 +0000
commit1166a2fa507be97896e41ed048693e9232e26f62 (patch)
tree98d64bb08ef4fb252e34396eb60708f6ce732e9a /tests
parentf573cf6669b5f2972f29f511efead068b8c3b38e (diff)
downloadvboot-1166a2fa507be97896e41ed048693e9232e26f62.tar.gz
COIL: Change sane to inclusive words
BUG=b:163883397 BRANCH=None TEST=make runtests TEST=egrep -r -i -I '(sane|insane)' Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I109207575e2c00d6aa3b0ed17de7f699087a9658 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2369464 Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/cgpt_fuzzer.c2
-rw-r--r--tests/cgptlib_test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/cgpt_fuzzer.c b/tests/cgpt_fuzzer.c
index 51ba72a3..d440ee82 100644
--- a/tests/cgpt_fuzzer.c
+++ b/tests/cgpt_fuzzer.c
@@ -49,7 +49,7 @@ int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
}
memcpy(&params, data, sizeof(params));
- // Enforce a sane sector size. The sector size must accommodate the GPT
+ // Enforce a valid sector size. The sector size must accommodate the GPT
// header (the code assumes this) and large values don't make sense
// either (both in terms of actual hardware parameters and ability for
// the fuzzer to deal with effectively).
diff --git a/tests/cgptlib_test.c b/tests/cgptlib_test.c
index 39d3aeb0..6fd7c322 100644
--- a/tests/cgptlib_test.c
+++ b/tests/cgptlib_test.c
@@ -859,7 +859,7 @@ static int ValidityCheckTest(void)
GptEntry *e1 = (GptEntry *)gpt->primary_entries;
uint8_t *tempptr;
- /* Unmodified test data is completely sane */
+ /* Unmodified test data is completely valid. */
BuildTestGptData(gpt);
EXPECT(GPT_SUCCESS == GptValidityCheck(gpt));
EXPECT(MASK_BOTH == gpt->valid_headers);