Skip to content

Commit

Permalink
[test] Remove self-test for empty formatted setting value
Browse files Browse the repository at this point in the history
Commit 5ad445f ("[settings] Treat an empty formatted value as meaning
"delete setting"") (re)defined the semantics of storing an empty
formatted setting as meaning "delete setting".

Remove the existing self-test using an empty formatted hex setting
value, since it no longer conforms to the defined semantics.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Oct 20, 2012
1 parent 885384f commit 34a81da
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/tests/settings_test.c
Expand Up @@ -239,8 +239,6 @@ static void settings_test_exec ( void ) {
RAW ( 0xf2, 0x37, 0xb2, 0x18 ), "0xf237b218" );

/* "hex" setting type */
storef_ok ( &test_settings, &test_hex_setting,
"", RAW ( 0x00 ) );
storef_ok ( &test_settings, &test_hex_setting,
":", RAW ( 0x00, 0x00 ) );
storef_ok ( &test_settings, &test_hex_setting,
Expand Down

0 comments on commit 34a81da

Please sign in to comment.