diff options
author | Paolo Abeni <pabeni@redhat.com> | 2018-10-11 10:54:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-11 10:19:46 -0700 |
commit | 3c718e677c2b35b449992adc36ecce883c467e98 (patch) | |
tree | 7cd6151997038f1a7363f9460c440d6c026142e2 | |
parent | 4f7617705bfff84d756fe4401a1f4f032f374984 (diff) | |
download | linux-3c718e677c2b35b449992adc36ecce883c467e98.tar.bz2 |
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: 33b01b7b4f19 ("selftests: add rtnetlink test script")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rwxr-xr-x | tools/testing/selftests/net/rtnetlink.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/rtnetlink.sh b/tools/testing/selftests/net/rtnetlink.sh index 08c341b49760..e101af52d1d6 100755 --- a/tools/testing/selftests/net/rtnetlink.sh +++ b/tools/testing/selftests/net/rtnetlink.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # This test is for checking rtnetlink callpaths, and get as much coverage as possible. # |