The bareudp.sh script uses /bin/sh and it will load another lib.sh BASH script at the very beginning.
But on some operating systems like Ubuntu, /bin/sh is actually pointed to DASH, thus it will try to run BASH commands with DASH and consequently leads to syntax issues.
This patch fixes syntax failures on systems where /bin/sh is not BASH by explicitily using BASH for bareudp.sh.
Po-Hsu Lin (1): selftests: net: use BASH for bareudp testing
tools/testing/selftests/net/bareudp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)