]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
selftests: rtnetlink.sh explicitly requires bash.
authorPaolo Abeni <pabeni@redhat.com>
Thu, 11 Oct 2018 08:54:52 +0000 (10:54 +0200)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:55:18 +0000 (19:55 -0600)
commit26261bbf6259ef62ef97d154899e2dd5a70701d7
tree4df8b8cc909eadf375b4878e7059481c6b4ab35d
parentd11258419f37c3cdac53187f668c5643fab8a47f
selftests: rtnetlink.sh explicitly requires bash.

BugLink: https://bugs.launchpad.net/bugs/1836654
[ Upstream commit 3c718e677c2b35b449992adc36ecce883c467e98 ]

the script rtnetlink.sh requires a bash-only features (sleep with sub-second
precision). This may cause random test failure if the default shell is not
bash.
Address the above explicitly requiring bash as the script interpreter.

Fixes: 33b01b7b4f19 ("selftests: add rtnetlink test script")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
tools/testing/selftests/net/rtnetlink.sh