forked from OSchip/llvm-project
Stabilize llvm/test/Object/archive-update.test a bit.
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. llvm-svn: 254965
This commit is contained in:
parent
4a798f2c54
commit
b4398d8585
|
@ -7,12 +7,13 @@ Create a file named evenlen that is newer than the evenlen on the source dir.
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue