From 4e6eae45ee8c2357acf3dc7e3caba9d86c2edeac Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Mon, 17 Mar 2014 22:04:51 -0400 Subject: [PATCH] test-driver: Set the date to the current time on boot Should allow merging #1816 --- nixos/lib/test-driver/test-driver.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/lib/test-driver/test-driver.pl b/nixos/lib/test-driver/test-driver.pl index 31f3281cefe0..84c8d6e4703d 100644 --- a/nixos/lib/test-driver/test-driver.pl +++ b/nixos/lib/test-driver/test-driver.pl @@ -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; }