From 9a32c83f7529ca7b3f6d4b3253b537a9da5681af Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 3 Aug 2012 19:56:37 +0200 Subject: tests: fix test, commands now comes before the family and table name Most tests still don't work though. They still need another fix. Reported-by: Tomasz Bursztyka Signed-off-by: Pablo Neira Ayuso --- tests/expr-ct | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) mode change 100755 => 100644 tests/expr-ct (limited to 'tests/expr-ct') diff --git a/tests/expr-ct b/tests/expr-ct old mode 100755 new mode 100644 index 8391c3ec..d464a949 --- a/tests/expr-ct +++ b/tests/expr-ct @@ -1,26 +1,26 @@ #! nft -f -table add ip filter -chain add ip filter output NF_INET_LOCAL_OUT 0 +add table ip filter +add chain ip filter output NF_INET_LOCAL_OUT 0 # ct: state -rule add ip filter output ct state 0 counter +add rule ip filter output ct state 0 counter # ct: direction original/reply -rule add ip filter output ct direction 0 counter -rule add ip filter output ct direction 1 counter +add rule ip filter output ct direction 0 counter +add rule ip filter output ct direction 1 counter # ct: status -rule add ip filter output ct status 0 counter +add rule ip filter output ct status 0 counter # ct: mark -rule add ip filter output ct mark 0 counter +add rule ip filter output ct mark 0 counter # ct: secmark -rule add ip filter output ct secmark 0 counter +add rule ip filter output ct secmark 0 counter # ct: expiration -rule add ip filter output ct expiration 30 counter +add rule ip filter output ct expiration 30 counter # ct: helper ftp -rule add ip filter output ct helper "ftp" counter +add rule ip filter output ct helper "ftp" counter -- cgit v1.2.3