summaryrefslogtreecommitdiffstats
path: root/test/fileop_test_utils.cpp
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2022-07-28 05:31:46 +0900
committerNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2022-08-05 05:51:47 +0900
commit2dd3bafb0c21d7f49fcc2945836924d9c052d268 (patch)
tree1057ed2a17cf7f29a59a67203b3ef22e603548aa /test/fileop_test_utils.cpp
parent1f38adbce45b76edb55d37617c00b42749b65726 (diff)
Fix installation README spdx typo issueneedlefish_13.93.0needlefish/13.93.013.93.0
Fix to external header is not installing. Fix to algorithm description. Fix to SPDX-License-Identifier in mock header. Fix to some typo. Bug-AGL: SPEC-4500 Change-Id: Ica9d32601d26243a8c4361c290e0bc853fa43ec4 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'test/fileop_test_utils.cpp')
-rw-r--r--test/fileop_test_utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fileop_test_utils.cpp b/test/fileop_test_utils.cpp
index f95fa6f..9a6d116 100644
--- a/test/fileop_test_utils.cpp
+++ b/test/fileop_test_utils.cpp
@@ -33,13 +33,13 @@ TEST_F(fileop_test_utils, fileop_test_utils_refop_header_validation__invalid_hea
s_refop_file_header *head = &header;
int ret = -1;
- // broaken magic
+ // broken magic
refop_header_create(head, 0x1234, 64*1024*1024);
head->magic = 0;
ret = refop_header_validation(head);
ASSERT_EQ(-1, ret);
- // broaken version
+ // broken version
refop_header_create(head, 0x1234, 64*1024*1024);
head->version = 0x88888888;
head->version_inv = 0x88888888;
@@ -53,14 +53,14 @@ TEST_F(fileop_test_utils, fileop_test_utils_refop_header_validation__invalid_hea
ret = refop_header_validation(head);
ASSERT_EQ(-1, ret);
- // broaken crc
+ // broken crc
refop_header_create(head, 0x1234, 64*1024*1024);
head->crc16 = 0x8888;
head->crc16_inv = 0x8888;
ret = refop_header_validation(head);
ASSERT_EQ(-1, ret);
- // broaken size
+ // broken size
refop_header_create(head, 0x1234, 64*1024*1024);
head->size_inv = head->size;
ret = refop_header_validation(head);