3
0
Fork 0
forked from mirrors/nixpkgs

test-driver: Set the date to the current time on boot

Should allow merging #1816
This commit is contained in:
Shea Levy 2014-03-17 22:04:51 -04:00
parent da4fca4ce4
commit 4e6eae45ee

View file

@ -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;
}