diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/regression/nft-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regression/nft-test.py b/tests/regression/nft-test.py index d4929f08..00c33f3e 100755 --- a/tests/regression/nft-test.py +++ b/tests/regression/nft-test.py @@ -694,7 +694,7 @@ def run_test_file(filename, force_all_family_option, specific_file): if line[1:].find("*") != -1: continue if need_fix_option: - rule[0] = rule[0].rstrip()[1:] + rule[0] = rule[0].rstrip()[1:].strip() result = rule_add(rule, table_list, chain_list, filename, lineno, force_all_family_option) tests += 1 |