From 30be91359a25d8672304a7c7ec31acd97cc0fadb Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 13 Dec 2012 14:48:49 +0100 Subject: Make .config reading/writing selftests more comprehensive. --- tests/Kappend | 8 ++++++++ tests/config_hash | 1 + tests/config_set_bool | 1 + tests/config_set_string | 1 + 4 files changed, 11 insertions(+) create mode 100644 tests/Kappend create mode 100644 tests/config_hash create mode 100644 tests/config_set_bool create mode 100644 tests/config_set_string (limited to 'tests') diff --git a/tests/Kappend b/tests/Kappend new file mode 100644 index 0000000..c084310 --- /dev/null +++ b/tests/Kappend @@ -0,0 +1,8 @@ +config MODULES + def_bool y + +config BOOL + bool "bool 1" + +config STRING + string "string" diff --git a/tests/config_hash b/tests/config_hash new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/tests/config_hash @@ -0,0 +1 @@ +# diff --git a/tests/config_set_bool b/tests/config_set_bool new file mode 100644 index 0000000..d2dccbf --- /dev/null +++ b/tests/config_set_bool @@ -0,0 +1 @@ +CONFIG_BOOL=y diff --git a/tests/config_set_string b/tests/config_set_string new file mode 100644 index 0000000..3a1250a --- /dev/null +++ b/tests/config_set_string @@ -0,0 +1 @@ +CONFIG_STRING="foo bar" -- cgit v1.2.3