selftests: udpgso_bench.sh explicitly requires bash
authorPaolo Abeni <pabeni@redhat.com>
Thu, 11 Oct 2018 08:54:53 +0000 (10:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 17:19:46 +0000 (10:19 -0700)
The udpgso_bench.sh script requires several bash-only features. This
may cause random failures if the default shell is not bash.
Address the above explicitly requiring bash as the script interpreter

Fixes: 3a687bef148d ("selftests: udp gso benchmark")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/udpgso_bench.sh

index 850767b..99e537a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # SPDX-License-Identifier: GPL-2.0
 #
 # Run a series of udpgso benchmarks