mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03: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