]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: fix typo in vmap_timeout test script
authorGyorgy Sarvari <skandigraun@gmail.com>
Sun, 26 Oct 2025 20:41:07 +0000 (21:41 +0100)
committerFlorian Westphal <fw@strlen.de>
Sun, 26 Oct 2025 21:56:57 +0000 (22:56 +0100)
commitb39ba950325bba7b00da57684c99e9466522bb07
treec00441204bee1e4a25380c7b239cdee71ad3f699
parentbc81386c2b4084a42b191044fbf0352a722cb5f2
tests: shell: fix typo in vmap_timeout test script

While executing the test suite from tests/shell folder, the following error
is displayed many times:

tests/shell/testcases/maps/vmap_timeout: line 48: [: : integer expected

Looking at the script, a non-existing variable (expires) is tested instead of
the existing one (expire).

Reproduction:
tests/shell/run-tests.sh -v

Fixes: db80037c0279 ("tests: shell: extend vmap test with updates")
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/maps/vmap_timeout