Sleep for 2.1 seconds to see if that makes the test stable on windows.

Might fix pr24106.

llvm-svn: 242158
This commit is contained in:
Rafael Espindola 2015-07-14 16:34:23 +00:00
parent a6a15b8f2e
commit 4ae784396c
1 changed files with 3 additions and 2 deletions

View File

@ -8,8 +8,9 @@ RUN: mkdir -p %t.older
RUN: echo older > %t.older/evenlen
Either the shell supports the 'touch' command with a flag to manually set the
mtime or we sleep for over a second so that the mtime is definitely observable.
RUN: touch -m -t 200001010000 %t.older/evenlen || sleep 1.1
mtime or we sleep for over two seconds so that the mtime is definitely
observable.
RUN: touch -m -t 200001010000 %t.older/evenlen || sleep 2.1
RUN: mkdir -p %t.newer
RUN: echo newer > %t.newer/evenlen