perf test: Remove bash construct from stat_bpf_counters.sh test
[linux-2.6-microblaze.git] / tools / perf / tests / shell / stat_bpf_counters.sh
index 2aed20d..13473ae 100755 (executable)
@@ -23,7 +23,7 @@ compare_number()
 
 # skip if --bpf-counters is not supported
 if ! perf stat --bpf-counters true > /dev/null 2>&1; then
-       if [ "$1" == "-v" ]; then
+       if [ "$1" = "-v" ]; then
                echo "Skipping: --bpf-counters not supported"
                perf --no-pager stat --bpf-counters true || true
        fi