summaryrefslogtreecommitdiffstats
path: root/qemu/dtc/tests/extra-terminating-null.dts
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/dtc/tests/extra-terminating-null.dts')
-rw-r--r--qemu/dtc/tests/extra-terminating-null.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/qemu/dtc/tests/extra-terminating-null.dts b/qemu/dtc/tests/extra-terminating-null.dts
new file mode 100644
index 000000000..b6cc19c18
--- /dev/null
+++ b/qemu/dtc/tests/extra-terminating-null.dts
@@ -0,0 +1,11 @@
+/dts-v1/;
+
+/ {
+ extranull0 = "hello world";
+ extranull1,1 = "hello world\0";
+ extranull1,2 = "hello world", "";
+ extranull2,1 = "hello world\0\0";
+ extranull2,2 = "hello world", "", "";
+ extranull2,3 = "hello world\0", "";
+ extranull2,4 = "hello world", "\0";
+};