perf tests test_bridge_fdb_stress.sh: Fix redirection of stderr to stdin
authorPatrice Duroux <patrice.duroux@gmail.com>
Fri, 3 Mar 2023 19:20:56 +0000 (20:20 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Apr 2023 12:39:55 +0000 (09:39 -0300)
It's not 2&>1, the correct is 2>&1.

Signed-off-by: Patrice Duroux <patrice.duroux@gmail.com>
Cc: linux-kselftest@vger.kernel.org
Link: https://lore.kernel.org/r/20230303193058.21274-1-patrice.duroux@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/testing/selftests/drivers/net/dsa/test_bridge_fdb_stress.sh

index a1f269ee84dac3b7a8067dfda2975f46ed6b4e08..92acab83fbe23ea46e192ee27097bd0f7d72fd1e 100755 (executable)
@@ -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