bpf: Use option "help" in the llvm-objcopy test
authorMartin KaFai Lau <kafai@fb.com>
Fri, 20 Jul 2018 05:34:10 +0000 (22:34 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 20 Jul 2018 08:27:47 +0000 (10:27 +0200)
commit7c3e8b642bad6669e0023d3d6dedd87b2527a2c8
treed139e1808b346d83d677a1a025d84bbfdb8a6913
parent36fc3c8c282c01ad1570bd864de52f128d731b75
bpf: Use option "help" in the llvm-objcopy test

I noticed the "--version" option of the llvm-objcopy command has recently
disappeared from the master llvm branch.  It is currently used as a BTF
support test in tools/testing/selftests/bpf/Makefile.

This patch replaces it with "--help" which should be
less error prone in the future.

Fixes: c0fa1b6c3efc ("bpf: btf: Add BTF tests")
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/Makefile