summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2016-12-14 14:40:28 +0100
committerLubomir Rintel <lkundrak@v3.sk>2016-12-15 11:45:34 +0100
commit96988f8debe2138d7236bde44f8d1bb130f257a9 (patch)
tree1a813985d44b17a98b454523366244f5cc19c8ae
parentd36c6d2892abef30b54f6e9d4012b92c169dfe4d (diff)
downloadNetworkManager-96988f8debe2138d7236bde44f8d1bb130f257a9.tar.gz
ifcfg-rh: add test case for remembering the unset values
Validates the previous commit.
-rw-r--r--src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c1
1 files changed, 1 insertions, 0 deletions
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");