[lld] r298038 - Fix the touch command to be Darwin-compatible.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 16 19:44:23 PDT 2017
Author: pcc
Date: Thu Mar 16 21:44:23 2017
New Revision: 298038
URL: http://llvm.org/viewvc/llvm-project?rev=298038&view=rev
Log:
Fix the touch command to be Darwin-compatible.
Modified:
lld/trunk/test/ELF/lto/cache.ll
Modified: lld/trunk/test/ELF/lto/cache.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/cache.ll?rev=298038&r1=298037&r2=298038&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/cache.ll (original)
+++ lld/trunk/test/ELF/lto/cache.ll Thu Mar 16 21:44:23 2017
@@ -5,7 +5,7 @@
; RUN: rm -Rf %t.cache && mkdir %t.cache
; Create a file that will be removed by cache pruning due to age.
-; RUN: touch -d 1970-01-01 %t.cache/foo
+; RUN: touch -t 197001010000 %t.cache/foo
; RUN: ld.lld --thinlto-cache-dir=%t.cache --thinlto-cache-policy prune_after=1h -o %t3 %t2.o %t.o
; Two cached objects, plus a timestamp file, minus the file we removed.
More information about the llvm-commits
mailing list