nixos/test-instrumentation: fix deprecation warning

Linux prints a deprecation warning when clock= is used on the command
line, and has done since 2006.  The replacement is clocksource=.

The clocksource output on the console looks like same before and after
this change.
This commit is contained in:
Alyssa Ross 2024-04-05 15:06:47 +02:00
parent 23ff7d9dc4
commit 16821ddb55
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -170,7 +170,7 @@ in
# thing, but for VM tests it should provide a bit more # thing, but for VM tests it should provide a bit more
# determinism (e.g. if the VM runs at lower speed, then # determinism (e.g. if the VM runs at lower speed, then
# timeouts in the VM should also be delayed). # timeouts in the VM should also be delayed).
"clock=acpi_pm" "clocksource=acpi_pm"
]; ];
# `xwininfo' is used by the test driver to query open windows. # `xwininfo' is used by the test driver to query open windows.