diff options
author | Matthieu Baerts <matthieu.baerts@tessares.net> | 2020-05-15 17:54:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-15 10:33:56 -0700 |
commit | 9a2dbb59ebd17a91f99a20b0286dfb6445981ecf (patch) | |
tree | 89dc11be8a62e800f163d92bc0c23daa19ceca5a | |
parent | efa6a7d07523ffbbf6503c1a7eeb52201c15c0e3 (diff) | |
download | linux-9a2dbb59ebd17a91f99a20b0286dfb6445981ecf.tar.gz linux-9a2dbb59ebd17a91f99a20b0286dfb6445981ecf.tar.bz2 linux-9a2dbb59ebd17a91f99a20b0286dfb6445981ecf.zip |
selftests: mptcp: pm: rm the right tmp file
"$err" is a variable pointing to a temp file. "$out" is not: only used
as a local variable in "check()" and representing the output of a
command line.
Fixes: eedbc685321b (selftests: add PM netlink functional tests)
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rwxr-xr-x | tools/testing/selftests/net/mptcp/pm_netlink.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/mptcp/pm_netlink.sh b/tools/testing/selftests/net/mptcp/pm_netlink.sh index 9172746b6cf0..15f4f46ca3a9 100755 --- a/tools/testing/selftests/net/mptcp/pm_netlink.sh +++ b/tools/testing/selftests/net/mptcp/pm_netlink.sh @@ -30,7 +30,7 @@ ret=0 cleanup() { - rm -f $out + rm -f $err ip netns del $ns1 } |