test: env: add some test cases for new "env default -k" flag
authorRasmus Villemoes <ravi@prevas.dk>
Wed, 30 Oct 2024 21:34:04 +0000 (22:34 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 15 Nov 2024 22:36:18 +0000 (16:36 -0600)
commit1bf25c775010290bb4239180b17684b1657488fd
tree9c6e81f513c89740a6e0d29afbf8324b24a5a61c
parent1e2325f76069f03fe0572af9599eab16674bdfc1
test: env: add some test cases for new "env default -k" flag

Check that the new -k flag works as expected.

This also adds a test of the -a flag, which was previously missing,
and as the comment says, perhaps for a good reason. At least now we
have a test for it in combination with -k (and -f, because the ethaddr
variables otherwise cause complaining).

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
test/env/cmd_ut_env.c