Skip to content

Commit c2518da

Browse files
gobenjiPaolo Abeni
authored andcommitted
selftests: bonding: Change script interpreter
The tests changed by this patch, as well as the scripts they source, use features which are not part of POSIX sh (ex. 'source' and 'local'). As a result, these tests fail when /bin/sh is dash such as on Debian. Change the interpreter to bash so that these tests can run successfully. Fixes: d43eff0 ("selftests: bonding: up/down delay w/ slave link flapping") Tested-by: Hangbin Liu <[email protected]> Reviewed-by: Hangbin Liu <[email protected]> Reviewed-by: Petr Machata <[email protected]> Signed-off-by: Benjamin Poirier <[email protected]> Reviewed-by: Przemek Kitszel <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
1 parent e327b23 commit c2518da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/testing/selftests/drivers/net/bonding/mode-1-recovery-updelay.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22
# SPDX-License-Identifier: GPL-2.0
33

44
# Regression Test:

tools/testing/selftests/drivers/net/bonding/mode-2-recovery-updelay.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22
# SPDX-License-Identifier: GPL-2.0
33

44
# Regression Test:

0 commit comments

Comments
 (0)