]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[test] Remove self-test for empty formatted setting value
authorMichael Brown <mcb30@ipxe.org>
Sat, 20 Oct 2012 21:44:34 +0000 (14:44 -0700)
committerMichael Brown <mcb30@ipxe.org>
Sat, 20 Oct 2012 21:44:34 +0000 (14:44 -0700)
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>
src/tests/settings_test.c

index 9e87a514646bbf61ef2ba03c4674a075ec36ff5f..028f8163b1502bbbd158eab48e3124c88c86ac22 100644 (file)
@@ -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,