selftests: bonding: Change script interpreter
[ Upstream commit c2518da8e6b0e248cfff1d4b6682e14020bd4d3f ] 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: d43eff0b ("selftests: bonding: up/down delay w/ slave link flapping") Tested-by:Hangbin Liu <liuhangbin@gmail.com> Reviewed-by:
Hangbin Liu <liuhangbin@gmail.com> Reviewed-by:
Petr Machata <petrm@nvidia.com> Signed-off-by:
Benjamin Poirier <bpoirier@nvidia.com> Reviewed-by:
Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by:
Paolo Abeni <pabeni@redhat.com> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Showing
- tools/testing/selftests/drivers/net/bonding/mode-1-recovery-updelay.sh 1 addition, 1 deletion.../selftests/drivers/net/bonding/mode-1-recovery-updelay.sh
- tools/testing/selftests/drivers/net/bonding/mode-2-recovery-updelay.sh 1 addition, 1 deletion.../selftests/drivers/net/bonding/mode-2-recovery-updelay.sh
Loading
Please register or sign in to comment