aboutsummaryrefslogtreecommitdiff
path: root/support/testing/tests/core/test_timezone.py
diff options
context:
space:
mode:
Diffstat (limited to 'support/testing/tests/core/test_timezone.py')
-rw-r--r--support/testing/tests/core/test_timezone.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/testing/tests/core/test_timezone.py b/support/testing/tests/core/test_timezone.py
index f4ba5039ca..050624e0aa 100644
--- a/support/testing/tests/core/test_timezone.py
+++ b/support/testing/tests/core/test_timezone.py
@@ -2,12 +2,14 @@ import os
import infra.basetest
+
def boot_armv5_cpio(emulator, builddir):
img = os.path.join(builddir, "images", "rootfs.cpio")
emulator.boot(arch="armv5", kernel="builtin",
options=["-initrd", img])
emulator.login()
+
class TestNoTimezone(infra.basetest.BRTest):
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
"""
@@ -23,6 +25,7 @@ class TestNoTimezone(infra.basetest.BRTest):
tz, _ = self.emulator.run("TZ=America/Los_Angeles date +%Z")
self.assertEqual(tz[0].strip(), "UTC")
+
class TestGlibcAllTimezone(infra.basetest.BRTest):
config = \
"""
@@ -44,6 +47,7 @@ class TestGlibcAllTimezone(infra.basetest.BRTest):
tz, _ = self.emulator.run("TZ=Europe/Paris date +%Z")
self.assertEqual(tz[0].strip(), "CET")
+
class TestGlibcNonDefaultLimitedTimezone(infra.basetest.BRTest):
config = \
"""