Skip to contentSkip to conversation

selftest: udpgso_bench.sh explicitly requires bash

PATCH In review Paolo Abeni 1 participant 2 messages Oct 11, 2018 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

Paolo Abeni

author maintainer
#1 lore raw

PATCH 2/2 selftest: udpgso_bench.sh explicitly requires bash

In reply to a message not in the archive

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")
---
 tools/testing/selftests/net/udpgso_bench.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/net/udpgso_bench.sh +1 -1
index 850767befa47..99e537ab5ad9 100755
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # SPDX-License-Identifier: GPL-2.0
 #
 # Run a series of udpgso benchmarks
Signature · 1 line
2.17.2
author maintainer
#2 lore raw
Quoted 5 lines · Paolo Abeni

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")

Oops... fat fingers! this is a duplicate of:

https://patchwork.ozlabs.org/patch/982350/

David, can you please drop this one from patchwork?

Thanks!

Paolo