summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2012-12-13 14:48:49 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2012-12-13 14:51:30 +0100
commit30be91359a25d8672304a7c7ec31acd97cc0fadb (patch)
tree4fb582325d197614f66e26f02a4b84fba55b199d /tests
parentbcbc4175e2949df6cc05bf8f729207eb5401cbb0 (diff)
Make .config reading/writing selftests more comprehensive.
Diffstat (limited to 'tests')
-rw-r--r--tests/Kappend8
-rw-r--r--tests/config_hash1
-rw-r--r--tests/config_set_bool1
-rw-r--r--tests/config_set_string1
4 files changed, 11 insertions, 0 deletions
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"