tests/shell/testcases/flowtable/0008prio_1
raw| 1 | #!/bin/bash |
| 2 | |
| 3 | $NFT add table t |
| 4 | for prioname in raw mangle dstnar security srcnat out dummy |
| 5 | do |
| 6 | $NFT add flowtable t f { hook ingress priority $prioname \; devices = { lo }\; } |
| 7 | if (($? == 0)) |
| 8 | then |
| 9 | echo "E: $prioname should not be a valid priority name for flowtables" >&2 |
| 10 | exit 1 |
| 11 | fi |
| 12 | done |
| 13 | |
| 14 | exit 0 |