forked from mirrors/nixpkgs
test-driver: Set the date to the current time on boot
Should allow merging #1816
This commit is contained in:
parent
da4fca4ce4
commit
4e6eae45ee
|
@ -52,6 +52,7 @@ sub createMachine {
|
|||
my ($args) = @_;
|
||||
my $vm = Machine->new({%{$args}, log => $log, redirectSerial => ($ENV{USE_SERIAL} // "0") ne "1"});
|
||||
$vms{$vm->name} = $vm;
|
||||
$vm->execute("date -s @" . time);
|
||||
return $vm;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue