mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
TEST-53-ISSUE-16347: Add rtc configuration for qemu
This commit is contained in:
parent
9e71acab00
commit
6ff6b2e29b
7
test/TEST-53-ISSUE-16347/meson.build
Normal file
7
test/TEST-53-ISSUE-16347/meson.build
Normal file
@ -0,0 +1,7 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
test_params += {
|
||||
'mkosi_args' : test_params['mkosi_args'] + [
|
||||
'--configure-script', meson.current_source_dir() / 'mkosi.configure',
|
||||
],
|
||||
}
|
6
test/TEST-53-ISSUE-16347/mkosi.configure
Executable file
6
test/TEST-53-ISSUE-16347/mkosi.configure
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -e
|
||||
|
||||
RTC="$(date -u +%Y-%m-%dT%H:%M:%S -d "+3 days")"
|
||||
jq ".QemuArgs += [\"-rtc\", \"base=$RTC\"]"
|
Loading…
Reference in New Issue
Block a user