tests/shell/testcases/flowtable/0006segfault_0
raw| 1 | #!/bin/bash |
| 2 | |
| 3 | # Make sure nft does not segfault when given invalid syntax in 'add flowtable' commands. |
| 4 | |
| 5 | $NFT add table ip t |
| 6 | |
| 7 | $NFT add flowtable ip t f { hook ingress priority 10\; devices = { lo } } |
| 8 | [[ $? -eq 1 ]] || exit 1 |
| 9 | |
| 10 | $NFT add flowtable ip t f { hook ingress\; priority 10\; } |
| 11 | [[ $? -eq 1 ]] || exit 1 |