From 96988f8debe2138d7236bde44f8d1bb130f257a9 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Wed, 14 Dec 2016 14:40:28 +0100 Subject: [PATCH] ifcfg-rh: add test case for remembering the unset values Validates the previous commit. --- src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c b/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c index 0beaf457f2..ca50ff2f76 100644 --- a/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c +++ b/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c @@ -8616,6 +8616,7 @@ test_write_unknown (gconstpointer test_data) _svGetValue_check (sv, "NAME3", "name3-value"); svSetValue (sv, "NAME", "set-by-test1"); + svSetValue (sv, "NAME2", NULL); svSetValue (sv, "NAME2", "set-by-test2"); svSetValue (sv, "NAME3", "set-by-test3");