summaryrefslogtreecommitdiff
path: root/test/py/tests/source.its
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-12-31 16:30:31 -0500
committerTom Rini <[email protected]>2022-12-31 16:30:31 -0500
commit3aa14d76182dbbaf9fed4deeaf362f083b9d2f5b (patch)
tree9a4c733db8ec3b99444a5ff9177aeb709459ad07 /test/py/tests/source.its
parent3e4cbe184a0f6537abb457d6afa61224396c4e46 (diff)
parentbcc85b96b5ffbbce19a89747138feb873d918915 (diff)
Merge branch '2022-12-31-cmd-source-support-specifying-config-name' into next
To quote the author: This series adds support for using configs with the source command. And to paraphrase the rest, see the patch commit messages for more details.
Diffstat (limited to 'test/py/tests/source.its')
-rw-r--r--test/py/tests/source.its43
1 files changed, 43 insertions, 0 deletions
diff --git a/test/py/tests/source.its b/test/py/tests/source.its
new file mode 100644
index 00000000000..3c62f777f17
--- /dev/null
+++ b/test/py/tests/source.its
@@ -0,0 +1,43 @@
+/dts-v1/;
+
+/ {
+ description = "FIT image to test the source command";
+ #address-cells = <1>;
+
+ images {
+ default = "script-1";
+
+ script-1 {
+ data = "echo 1";
+ type = "script";
+ arch = "sandbox";
+ compression = "none";
+ };
+
+ script-2 {
+ data = "echo 2";
+ type = "script";
+ arch = "sandbox";
+ compression = "none";
+ };
+
+ not-a-script {
+ data = "echo 3";
+ type = "kernel";
+ arch = "sandbox";
+ compression = "none";
+ };
+ };
+
+ configurations {
+ default = "conf-2";
+
+ conf-1 {
+ script = "script-1";
+ };
+
+ conf-2 {
+ script = "script-2";
+ };
+ };
+};