[LTP] [PATCH] cpuset_inherit_test: compatibility fix for DASH

Li Wang liwang@redhat.com
Mon Sep 28 08:34:20 CEST 2020


On Mon, Sep 28, 2020 at 1:41 PM Po-Hsu Lin <po-hsu.lin@canonical.com> wrote:

> The /bin/sh was symbolically link to dash in Ubuntu, in which the
> "let" expression does not work, it will complain about:
>     cpuset_inherit_testset.sh: let: not found
>
> Fix it with double parentheses arithmetic expansion to improve the
> compatibility.
>
> Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
>

Pushed, thanks!


-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20200928/6af8a1f1/attachment.htm>


More information about the ltp mailing list