From: Rafael Espindola Date: Tue, 14 Jul 2015 16:34:23 +0000 (+0000) Subject: Sleep for 2.1 seconds to see if that makes the test stable on windows. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=52ed774c8302073c19e3bef96e62695a16791d4a;p=oota-llvm.git 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 --- diff --git a/test/Object/archive-update.test b/test/Object/archive-update.test index 450b5cd4ed8..147db90ba95 100644 --- a/test/Object/archive-update.test +++ b/test/Object/archive-update.test @@ -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