summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/timezone.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/testcases/modules/timezone.yaml')
-rw-r--r--tests/cloud_tests/testcases/modules/timezone.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/cloud_tests/testcases/modules/timezone.yaml b/tests/cloud_tests/testcases/modules/timezone.yaml
new file mode 100644
index 00000000..5112aa9f
--- /dev/null
+++ b/tests/cloud_tests/testcases/modules/timezone.yaml
@@ -0,0 +1,16 @@
+#
+# Set system timezone
+#
+required_features:
+ - daylight_time
+cloud_config: |
+ #cloud-config
+ timezone: US/Aleutian
+collect_scripts:
+ timezone: |
+ #!/bin/bash
+ # date will convert this to system's configured time zone.
+ # use a static date to avoid dealing with daylight savings.
+ date "+%Z" --date="Thu, 03 Nov 2016 00:47:00 -0400"
+
+# vi: ts=4 expandtab