mirror of
https://github.com/systemd/systemd.git
synced 2024-10-30 14:55:37 +03:00
c4cd6205e0
Specifying the test number manually is tedious and prone to errors (as recently proven). Since we have all the necessary data to work out the test number, let's do it automagically.
13 lines
271 B
Bash
Executable File
13 lines
271 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
TEST_DESCRIPTION="test timer units when initial clock is ahead"
|
|
TEST_NO_NSPAWN=1
|
|
|
|
QEMU_OPTIONS="-rtc base=$(date -u +%Y-%m-%dT%H:%M:%S -d '+3 days')"
|
|
|
|
# shellcheck source=test/test-functions
|
|
. "${TEST_BASE_DIR:?}/test-functions"
|
|
|
|
do_test "$@"
|