summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorMichael Brown2012-10-20 23:44:34 +0200
committerMichael Brown2012-10-20 23:44:34 +0200
commit34a81da0c8dd47628a7408cd3f8d8a926d1ecbee (patch)
treeb71957522fd547fedc1050a170ec0ab053f65325 /src/tests
parent[arp] Increase robustness of ARP discarder (diff)
downloadipxe-34a81da0c8dd47628a7408cd3f8d8a926d1ecbee.tar.gz
ipxe-34a81da0c8dd47628a7408cd3f8d8a926d1ecbee.tar.xz
ipxe-34a81da0c8dd47628a7408cd3f8d8a926d1ecbee.zip
[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>
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/settings_test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tests/settings_test.c b/src/tests/settings_test.c
index 9e87a514..028f8163 100644
--- a/src/tests/settings_test.c
+++ b/src/tests/settings_test.c
@@ -240,8 +240,6 @@ static void settings_test_exec ( void ) {
/* "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,
"1:2:", RAW ( 0x01, 0x02, 0x00 ) );