xref: /llvm-project/llvm/test/tools/llvm-ranlib/bad-usage.test (revision 6278fba9b11751b97c6091049341c51226c5b434)
1*6278fba9SSam Clegg## Test that useage message is shown when no input file is given
2*6278fba9SSam Clegg## And that we return non-zero.
3*6278fba9SSam Clegg
4*6278fba9SSam Clegg# RUN: not llvm-ranlib 2>&1 | FileCheck %s
5*6278fba9SSam Clegg
6*6278fba9SSam Clegg# CHECK: error: an archive name must be specified
7*6278fba9SSam Clegg# CHECK: USAGE: llvm-ranlib
8