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

Might fix pr24106.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242158 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2015-07-14 16:34:23 +00:00
parent a69b1311b2
commit 52ed774c83

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