Skip to content

Commit

Permalink
selftests: rtnetlink.sh explicitly requires bash.
Browse files Browse the repository at this point in the history
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: 33b01b7 ("selftests: add rtnetlink test script")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Paolo Abeni authored and David S. Miller committed Oct 11, 2018
1 parent 4f76177 commit 3c718e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/net/rtnetlink.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# This test is for checking rtnetlink callpaths, and get as much coverage as possible.
#
Expand Down

0 comments on commit 3c718e6

Please sign in to comment.