mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-01 13:20:25 +00:00
[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
This commit is contained in:
parent
1495663bc4
commit
fe93282a1b
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
; RUN: rm -Rf %t.cache && mkdir %t.cache
|
; RUN: rm -Rf %t.cache && mkdir %t.cache
|
||||||
; Create a file that will be removed by cache pruning due to age.
|
; 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
|
; 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.
|
; Two cached objects, plus a timestamp file, minus the file we removed.
|
||||||
|
Loading…
Reference in New Issue
Block a user