On Mon, Feb 26, 2018 at 06:31:49PM +0200, Petr Machata wrote:
Ido Schimmel idosch@mellanox.com writes:
+learning_test() +{
- local mac=de:ad:be:ef:13:37
- local ageing_time
- local br_port1=$2 # Connected to `host1_if`.
- local host1_if=$3
- local host2_if=$4
- local bridge=$1
I don't think applying RXT in Bash is appropriate. The ordering of the local variables should instead follow the order of function arguments, because that information isn't communicated by the function prototype itself, unlike C.
Makes sense. Will fix. Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html