]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 17:19:46 +0000 (10:19 -0700)
commit6dbfc685874044adf5a643d48cc406117b3d0ea8
tree7cd6151997038f1a7363f9460c440d6c026142e2
parent11688913f65b2688733fb01ff56bd09d344d46db
selftests: rtnetlink.sh explicitly requires bash.

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: c977d112e74a ("selftests: add rtnetlink test script")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/rtnetlink.sh