summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/runcmd.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/testcases/modules/runcmd.yaml')
-rw-r--r--tests/cloud_tests/testcases/modules/runcmd.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/cloud_tests/testcases/modules/runcmd.yaml b/tests/cloud_tests/testcases/modules/runcmd.yaml
new file mode 100644
index 00000000..04e5a050
--- /dev/null
+++ b/tests/cloud_tests/testcases/modules/runcmd.yaml
@@ -0,0 +1,13 @@
+#
+# Run a simple command
+#
+cloud_config: |
+ #cloud-config
+ runcmd:
+ - echo cloud-init run cmd test > /tmp/run_cmd
+collect_scripts:
+ run_cmd: |
+ #!/bin/bash
+ cat /tmp/run_cmd
+
+# vi: ts=4 expandtab