A manipulation (in this case, mkdir) can make slack between creating and touching %t.older/evenlen.
I would make this rewrote with python if this were still unstable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254965
91177308-0d34-0410-b5e6-
96231b3b80d8
RUN: mkdir -p %t.older
RUN: echo older > %t.older/evenlen
+RUN: mkdir -p %t.newer
+
Either the shell supports the 'touch' command with a flag to manually set the
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
RUN: touch %t.newer/evenlen