Re: [PATCH 1/2] add check parameter to run_tests configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il 26/08/2014 20:29, Chris J Arges ha scritto:
> +        path=${check_param%%=*}
> +        value=${check_param#*=}
> +        if [ $path ] && [[ $(cat $path) != $value ]]; then

[[ ]] is a bashism, please use [ ].

Also, please include all operands of [ ] within double quotes.

Paolo

> +            echo "skip $1 ($path not equal to $value)"
> +            return
> +        fi

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux