test(ha-config-bootstrap): RED-phase tests for ha-term.bin durability (task 6.1)
5 Unity tests covering persist (req 9.1), restore (req 9.2 RED), missing-file zero-init (req 9.3), CRC-mismatch safe-zero, and write+rename atomicity. Build fails with 3 undefined-reference linker errors on ha_restore_term() — expected RED phase proof.
This commit is contained in:
parent
ab174c8b06
commit
722d7824c4
4 changed files with 406 additions and 1 deletions
|
|
@ -37,6 +37,7 @@ extern void test_worker_join(void);
|
|||
extern void test_ha_startup(void);
|
||||
extern void test_ha_election(void);
|
||||
extern void test_ha_bootstrap(void);
|
||||
extern void test_ha_durability(void);
|
||||
|
||||
void setUp(void) { return; }
|
||||
|
||||
|
|
@ -143,6 +144,7 @@ int main(int argc, char* argv[])
|
|||
TEST(test_ha_startup);
|
||||
TEST(test_ha_election);
|
||||
TEST(test_ha_bootstrap);
|
||||
TEST(test_ha_durability);
|
||||
|
||||
return UNITY_END();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue