diff options
author | Thomas Haller <thaller@redhat.com> | 2023-10-23 19:00:46 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-10-24 11:31:02 +0200 |
commit | f773041121d6d0d112fa9cb003fd791eacd6e43d (patch) | |
tree | 7f4b01b12654d7d6a6b3a266ec4aba68d02341d5 /src/parser_bison.y | |
parent | 8dae752f28851c6ee4257adfba969478539dbfdf (diff) |
tests/shell: cover long interface name in "0042chain_variable_0" test
IFNAMSIZ is 16. Adjust "0042chain_variable_0" to use an interface name
with the maximum allowed bytes length.
Instead of adding an entirely different test, adjust an existing one to
use another interface name. The aspect for testing for a long interface
name is not special enough, to warrant a separate test. We can cover it
by extending an existing test.
Note that the length check in "parser_bison.y" is wrong. The test checks
still for the wrong behavior and that "d23456789012345x" is accepted.
Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/parser_bison.y')
0 files changed, 0 insertions, 0 deletions