Skip to content

Commit

Permalink
selftests: mptcp: pm: rm the right tmp file
Browse files Browse the repository at this point in the history
"$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: eedbc68 (selftests: add PM netlink functional tests)
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Matthieu Baerts authored and David S. Miller committed May 15, 2020
1 parent efa6a7d commit 9a2dbb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/net/mptcp/pm_netlink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ret=0

cleanup()
{
rm -f $out
rm -f $err
ip netns del $ns1
}

Expand Down

0 comments on commit 9a2dbb5

Please sign in to comment.