Browse Source

[test] Remove self-test for empty formatted setting value

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>
tags/v1.20.1
Michael Brown 12 years ago
parent
commit
34a81da0c8
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      src/tests/settings_test.c

+ 0
- 2
src/tests/settings_test.c View File

@@ -239,8 +239,6 @@ static void settings_test_exec ( void ) {
239 239
 		    RAW ( 0xf2, 0x37, 0xb2, 0x18 ), "0xf237b218" );
240 240
 
241 241
 	/* "hex" setting type */
242
-	storef_ok ( &test_settings, &test_hex_setting,
243
-		    "", RAW ( 0x00 ) );
244 242
 	storef_ok ( &test_settings, &test_hex_setting,
245 243
 		    ":", RAW ( 0x00, 0x00 ) );
246 244
 	storef_ok ( &test_settings, &test_hex_setting,

Loading…
Cancel
Save