OSDN Git Service

selftests: use posix-style redirection in ip_defrag.sh
authorPaolo Abeni <pabeni@redhat.com>
Thu, 11 Oct 2018 09:17:37 +0000 (11:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 17:22:07 +0000 (10:22 -0700)
commit9dffa76c21268f6188b04b966089b5110a7447ef
tree5c13a6ccb69e7ad3b0a88cba30620eca3f3b9b65
parente70a57fa59bb7fefe063780a49e063d0d0f61863
selftests: use posix-style redirection in ip_defrag.sh

The ip_defrag.sh script requires bash-style output redirection but
use the default shell. This may cause random failures if the default
shell is not bash.
Address the above using posix compliant output redirection.

Fixes: 02c7f38b7ace ("selftests/net: add ip_defrag selftest")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/ip_defrag.sh