From 0e01f053e214ab361ec287ad67212b35976fc9f0 Mon Sep 17 00:00:00 2001 From: wangqr Date: Fri, 3 Apr 2020 22:21:38 -0400 Subject: [PATCH] Fix touch date issue in setup.ps1 --- tests/setup.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/setup.ps1 b/tests/setup.ps1 index c5229229f..fb28fbd4e 100644 --- a/tests/setup.ps1 +++ b/tests/setup.ps1 @@ -24,7 +24,7 @@ New-Item -Path "data\mru_invalid.json" -ItemType "file" -Value '{"Video" : [1, 3 New-Item -Path "data\ten_bytes" -ItemType "file" -Value "1234567890" New-Item -Path "data\touch_mod_time" -ItemType "file" -(Get-ChildItem -Path "data\touch_mod_time").LastWriteTime.AddSeconds(-1) +(Get-ChildItem -Path "data\touch_mod_time").LastWriteTime = (Get-ChildItem -Path "data\touch_mod_time").LastWriteTime.AddSeconds(-1) New-Item -Path "data\dir_iterator" -ItemType "directory" New-Item -Path "data\dir_iterator\1.a" -ItemType "file"