summaryrefslogtreecommitdiffstats
path: root/lld/test
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-03-17 10:32:10 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-03-17 10:32:10 +0000
commitfe93282a1b6f9b36cb488532df30fb3408dd442a (patch)
tree5de2ede0a32582613a161405401f5d00cd8ef022 /lld/test
parent1495663bc4b4800a505bc13d121759f73c886d80 (diff)
downloadbcm5719-llvm-fe93282a1b6f9b36cb488532df30fb3408dd442a.tar.gz
bcm5719-llvm-fe93282a1b6f9b36cb488532df30fb3408dd442a.zip
[ELF] - Fixed cache.ll testcase.
It failed for me under windows, touch reported invalid date format. Seems related to 12h/24h format, though I don't understant why 197001010200 does not work, but 197001010300 works, I see no logic here. Changed to 197001011200. llvm-svn: 298064
Diffstat (limited to 'lld/test')
-rw-r--r--lld/test/ELF/lto/cache.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/ELF/lto/cache.ll b/lld/test/ELF/lto/cache.ll
index d3787e9018b..deb11b61de2 100644
--- a/lld/test/ELF/lto/cache.ll
+++ b/lld/test/ELF/lto/cache.ll
@@ -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 -t 197001010000 %t.cache/foo
+; RUN: touch -t 197001011200 %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.
OpenPOWER on IntegriCloud