[ms] Fix repeated executions of the no-inputs llvm-lib test

`rm` the file, THEN run the command that shouldn't create it, THEN confirm that it doesn't exist
This commit is contained in:
Eric Astor 2020-04-30 18:08:07 -04:00
parent cfea3dc102
commit 291d24838f

View File

@ -1,6 +1,7 @@
RUN: llvm-lib -out:%t.a
RUN: test ! -e %t.a
RUN: rm -f %t.lib
RUN: llvm-lib -out:%t.lib
RUN: test ! -e %t.lib
RUN: llvm-lib /llvmlibempty -out:%t.a
RUN: FileCheck %s < %t.a
RUN: llvm-lib /llvmlibempty -out:%t.lib
RUN: FileCheck %s < %t.lib
CHECK: !<arch>