summaryrefslogtreecommitdiffstats
path: root/test/TEST-53-ISSUE-16347/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/TEST-53-ISSUE-16347/test.sh')
-rwxr-xr-xtest/TEST-53-ISSUE-16347/test.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/TEST-53-ISSUE-16347/test.sh b/test/TEST-53-ISSUE-16347/test.sh
new file mode 100755
index 0000000..089768e
--- /dev/null
+++ b/test/TEST-53-ISSUE-16347/test.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+set -e
+
+TEST_DESCRIPTION="test timer units when initial clock is ahead"
+TEST_NO_NSPAWN=1
+
+future_date=$(date -u +%Y-%m-%dT%H:%M:%S -d '+3 days')
+QEMU_OPTIONS="-rtc base=${future_date}"
+. $TEST_BASE_DIR/test-functions
+
+do_test "$@" 53