• Aboorva Devarajan's avatar
    perf tests test_task_analyzer: Fix shellcheck issues · 9694dfe0
    Aboorva Devarajan authored
    Fixed the following shellcheck issues in test_task_analyzer.sh file:
    
    SC2086: Double quote to prevent globbing and word splitting
    warnings in shell-check.
    Fixes the following shellcheck issues,
    
    SC2086: Double quote to prevent globbing and word splitting
    warnings in shell-check.
    
    Before Patch:
    
    $ shellcheck ./test_task_analyzer.sh  | grep "SC2086" | ...
    In ./test_task_analyzer.sh line 13:
    SC2086: Double quote to prevent globbing and word splitting.
    In ./test_task_analyzer.sh line 24:
    SC2086: Double quote to prevent globbing and word splitting.
    In ./test_task_analyzer.sh line 39:
    SC2086: Double quote to prevent globbing and word splitting.
    
    After Patch:
    $ shellcheck ./test_task_analyzer.sh  | grep -i "SC2086"
    None
    
    perf test result after patch:
    
    PASS: "test_basic"
    PASS: "test_ns_rename"
    PASS: "test_ms_filtertasks_highlight"
    PASS: "test_extended_times_timelimit_limittasks"
    PASS: "test_summary"
    PASS: "test_summaryextended"
    PASS: "test_summaryonly"
    PASS: "test_extended_times_summary_ns"
    PASS: "test_extended_times_summary_ns"
    PASS: "test_csv"
    PASS: "test_csvsummary"
    PASS: "test_csv_extended_times"
    PASS: "test_csvsummary_extended"
    Signed-off-by: default avatarAboorva Devarajan <aboorvad@linux.vnet.ibm.com>
    Cc: Disha Goel <disgoel@linux.vnet.ibm.com>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: John Garry <john.g.garry@oracle.com>
    Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Ravi Bangoria <ravi.bangoria@amd.com>
    Cc: linuxppc-dev@lists.ozlabs.org
    Link: https://lore.kernel.org/r/20230613164145.50488-10-atrajeev@linux.vnet.ibm.comSigned-off-by: default avatarAthira Rajeev <atrajeev@linux.vnet.ibm.com>
    Signed-off-by: default avatarKajol Jain <kjain@linux.ibm.com>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    9694dfe0
test_task_analyzer.sh 3.43 KB