diff mbox series

[2/2] replace 2&>1 by 2>&1

Message ID 20230303192056.18732-1-patrice.duroux@gmail.com (mailing list archive)
State Accepted
Commit 7f8d3fbe094be59a286f3b43431668221123ff30
Headers show
Series None | expand

Commit Message

Patrice Duroux March 3, 2023, 7:20 p.m. UTC
Signed-off-by: Patrice Duroux <patrice.duroux@gmail.com>
---
 .../testing/selftests/drivers/net/dsa/test_bridge_fdb_stress.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shuah Khan March 3, 2023, 8:28 p.m. UTC | #1
On 3/3/23 12:20, Patrice Duroux wrote:

Missing commit log and the commit summary doesn't include
the subsystem - try selftests/net:

Also say what this change is fixing instead of making that
the commit summary.

> Signed-off-by: Patrice Duroux <patrice.duroux@gmail.com>
> ---
>   .../testing/selftests/drivers/net/dsa/test_bridge_fdb_stress.sh | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/drivers/net/dsa/test_bridge_fdb_stress.sh b/tools/testing/selftests/drivers/net/dsa/test_bridge_fdb_stress.sh
> index a1f269ee84da..92acab83fbe2 100755
> --- a/tools/testing/selftests/drivers/net/dsa/test_bridge_fdb_stress.sh
> +++ b/tools/testing/selftests/drivers/net/dsa/test_bridge_fdb_stress.sh
> @@ -31,7 +31,7 @@ trap 'cleanup' EXIT
>   
>   eth=${NETIFS[p1]}
>   
> -ip link del br0 2&>1 >/dev/null || :
> +ip link del br0 2>&1 >/dev/null || :
>   ip link add br0 type bridge && ip link set $eth master br0
>   
>   (while :; do

thanks,
-- Shuah
diff mbox series

Patch

diff --git a/tools/testing/selftests/drivers/net/dsa/test_bridge_fdb_stress.sh b/tools/testing/selftests/drivers/net/dsa/test_bridge_fdb_stress.sh
index a1f269ee84da..92acab83fbe2 100755
--- a/tools/testing/selftests/drivers/net/dsa/test_bridge_fdb_stress.sh
+++ b/tools/testing/selftests/drivers/net/dsa/test_bridge_fdb_stress.sh
@@ -31,7 +31,7 @@  trap 'cleanup' EXIT
 
 eth=${NETIFS[p1]}
 
-ip link del br0 2&>1 >/dev/null || :
+ip link del br0 2>&1 >/dev/null || :
 ip link add br0 type bridge && ip link set $eth master br0
 
 (while :; do