@@ -528,7 +528,7 @@ func TestEvaluateImmediateVerdict(t *testing.T) {
528528 // Sets up an NFTables object with a base chain (for 2 rules) and another
529529 // target chain (for 1 rule).
530530 nf := newNFTablesStd ()
531- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
531+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
532532 if err != nil {
533533 t .Fatalf ("unexpected error for AddTable: %v" , err )
534534 }
@@ -592,7 +592,7 @@ func TestEvaluateImmediateBytesData(t *testing.T) {
592592 t .Run (tname , func (t * testing.T ) {
593593 // Sets up an NFTables object with a base chain with policy accept.
594594 nf := newNFTablesStd ()
595- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
595+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
596596 if err != nil {
597597 t .Fatalf ("unexpected error for AddTable: %v" , err )
598598 }
@@ -1078,7 +1078,7 @@ func TestEvaluateComparison(t *testing.T) {
10781078 t .Run (test .tname , func (t * testing.T ) {
10791079 // Sets up an NFTables object with a single table, chain, and rule.
10801080 nf := newNFTablesStd ()
1081- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
1081+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
10821082 if err != nil {
10831083 t .Fatalf ("unexpected error for AddTable: %v" , err )
10841084 }
@@ -1315,7 +1315,7 @@ func TestEvaluateRanged(t *testing.T) {
13151315 t .Run (test .tname , func (t * testing.T ) {
13161316 // Sets up an NFTables object with a single table, chain, and rule.
13171317 nf := newNFTablesStd ()
1318- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
1318+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
13191319 if err != nil {
13201320 t .Fatalf ("unexpected error for AddTable: %v" , err )
13211321 }
@@ -1549,7 +1549,7 @@ func TestEvaluatePayloadLoad(t *testing.T) {
15491549 t .Run (test .tname , func (t * testing.T ) {
15501550 // Sets up an NFTables object with a single table, chain, and rule.
15511551 nf := newNFTablesStd ()
1552- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
1552+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
15531553 if err != nil {
15541554 t .Fatalf ("unexpected error for AddTable: %v" , err )
15551555 }
@@ -2053,7 +2053,7 @@ func TestEvaluatePayloadSet(t *testing.T) {
20532053 t .Run (test .tname , func (t * testing.T ) {
20542054 // Sets up an NFTables object with a single table, chain, and rule.
20552055 nf := newNFTablesStd ()
2056- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
2056+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
20572057 if err != nil {
20582058 t .Fatalf ("unexpected error for AddTable: %v" , err )
20592059 }
@@ -2238,7 +2238,7 @@ func TestEvaluateBitwise(t *testing.T) {
22382238 t .Run (test .tname , func (t * testing.T ) {
22392239 // Sets up an NFTables object with a single table, chain, and rule.
22402240 nf := newNFTablesStd ()
2241- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
2241+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
22422242 if err != nil {
22432243 t .Fatalf ("unexpected error for AddTable: %v" , err )
22442244 }
@@ -2304,7 +2304,7 @@ func TestEvaluateCounter(t *testing.T) {
23042304 t .Run ("counter increment tests" , func (t * testing.T ) {
23052305 // Sets up an NFTables object with a base chain with policy accept.
23062306 nf := newNFTablesStd ()
2307- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
2307+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
23082308 if err != nil {
23092309 t .Fatalf ("unexpected error for AddTable: %v" , err )
23102310 }
@@ -2372,7 +2372,7 @@ func TestEvaluateLast(t *testing.T) {
23722372 fakeClock := faketime .NewManualClock ()
23732373 fixedRNG := rand .RNGFrom (& fixedReader {})
23742374 nf := NewNFTables (fakeClock , fixedRNG )
2375- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
2375+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
23762376 if err != nil {
23772377 t .Fatalf ("unexpected error for AddTable: %v" , err )
23782378 }
@@ -2499,7 +2499,7 @@ func TestEvaluateRoute(t *testing.T) {
24992499 t .Run (test .tname , func (t * testing.T ) {
25002500 // Sets up an NFTables object with a single table, chain, and rule.
25012501 nf := newNFTablesStd ()
2502- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
2502+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
25032503 if err != nil {
25042504 t .Fatalf ("unexpected error for AddTable: %v" , err )
25052505 }
@@ -2740,7 +2740,7 @@ func TestEvaluateByteorder(t *testing.T) {
27402740 t .Run (test .tname , func (t * testing.T ) {
27412741 // Sets up an NFTables object with a single table, chain, and rule.
27422742 nf := newNFTablesStd ()
2743- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
2743+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
27442744 if err != nil {
27452745 t .Fatalf ("unexpected error for AddTable: %v" , err )
27462746 }
@@ -2922,7 +2922,7 @@ func TestEvaluateMetaLoad(t *testing.T) {
29222922 // Using Manual Clock sets time.Now to Unix Epoch which fixes rng seed!
29232923 nf := NewNFTables (fakeClock , rand .RNGFrom (& fixedReader {}))
29242924
2925- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
2925+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
29262926 if err != nil {
29272927 t .Fatalf ("unexpected error for AddTable: %v" , err )
29282928 }
@@ -3012,7 +3012,7 @@ func TestEvaluateMetaSet(t *testing.T) {
30123012 t .Run (test .tname , func (t * testing.T ) {
30133013 // Sets up an NFTables object with a single table, chain, and rule.
30143014 nf := newNFTablesStd ()
3015- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
3015+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
30163016 if err != nil {
30173017 t .Fatalf ("unexpected error for AddTable: %v" , err )
30183018 }
@@ -3470,7 +3470,7 @@ func TestLoopCheckOnRegisterAndUnregister(t *testing.T) {
34703470 t .Run (test .tname , func (t * testing.T ) {
34713471 // Sets up an NFTables object based on test struct.
34723472 nf := newNFTablesStd ()
3473- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
3473+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
34743474 if err != nil {
34753475 t .Fatalf ("unexpected error for AddTable: %v" , err )
34763476 }
@@ -3581,7 +3581,7 @@ func TestMaxNestedJumps(t *testing.T) {
35813581 t .Run (test .tname , func (t * testing.T ) {
35823582 // Sets up chains of nested jumps or gotos.
35833583 nf := newNFTablesStd ()
3584- tab , err := nf .AddTable (arbitraryFamily , "test" , "test table" , false )
3584+ tab , err := nf .AddTable (arbitraryFamily , "test" , false )
35853585 if err != nil {
35863586 t .Fatalf ("unexpected error for AddTable: %v" , err )
35873587 }
0 commit comments