OSDN Git Service

perf tests: Remove bash construct from record+zstd_comp_decomp.sh
[uclinux-h8/linux.git] / tools / perf / tests / shell / record+zstd_comp_decomp.sh
index 8a168cf..49bd875 100755 (executable)
@@ -12,7 +12,7 @@ skip_if_no_z_record() {
 
 collect_z_record() {
        echo "Collecting compressed record file:"
-       [[ "$(uname -m)" != s390x ]] && gflag='-g'
+       [ "$(uname -m)" != s390x ] && gflag='-g'
        $perf_tool record -o $trace_file $gflag -z -F 5000 -- \
                dd count=500 if=/dev/urandom of=/dev/null
 }