mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 07:05:28 +00:00
c5d09fbdd1
With my recent work on the test, both time() and localtime() are used. While mocking the former one, we get predictable result for UTC. But since the latter function uses timezone to get local time, the result of localtime() is not so predictive. Therefore, we must set the TZ variable at the beginning of the test. To be able to catch some things that work just by a blind chance, I'm choosing a virtual timezone that (hopefully) no libvirt developer resides in.
6 lines
298 B
Plaintext
6 lines
298 B
Plaintext
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu -S -M pc -m 214 -smp 1 -nographic \
|
|
-monitor unix:/tmp/test-monitor,server,nowait -rtc base=2009-02-14T00:01:30 \
|
|
-no-acpi -boot c -usb -hda /dev/HostVG/QEMUGuest1 -net none -serial none \
|
|
-parallel none
|