diff --git a/llvm/test/tools/llvm-tapi-diff/tapi-diff-misspelled-tbd.test b/llvm/test/tools/llvm-tapi-diff/tapi-diff-misspelled-tbd.test --- a/llvm/test/tools/llvm-tapi-diff/tapi-diff-misspelled-tbd.test +++ b/llvm/test/tools/llvm-tapi-diff/tapi-diff-misspelled-tbd.test @@ -1,5 +1,5 @@ -; RUN: not llvm-tapi-diff %S/Inputs/v4A.tbd %S/Inputs/v4.tbd 2>&1 | FileCheck %s +; RUN: not llvm-tapi-diff %S/Inputs/v4A.tbd %S/Inputs/v4.tbd 2>&1 | FileCheck %s -DMSG=%errc_ENOENT -; CHECK: {{.*}}: error: {{.*}}v4.tbd: {{[Nn]}}o such file or directory +; CHECK: {{.*}}: error: {{.*}}v4.tbd: [[MSG]] ; CHECK-NOT: error: ; CHECK-NOT: warning: