-- Test CamelCase tool name to ensure detection works properly

REQUIRES: target-windows, system-windows
RUN: yaml2obj %S/Inputs/coff.yaml -o %t.obj
RUN: rm -rf %t1
RUN: mkdir %t1
RUN: cp llvm-ar %t1/Lib
RUN: %t1/Lib /OUT:%t.lib %t.obj | FileCheck %s -allow-empty
RUN: cp llvm-ar %t1/Ar
RUN: %t1/Ar crs %t.ar %t.obj | FileCheck %s -allow-empty

CHECK-NOT: OVERVIEW: LLVM Archiver (llvm-ar)