func TestMessageDump(t *testing.T) {
	skipUnless(t, "netlink_dump")

	defer testutil.TeardownDNAT(t)
	testutil.SetupDNAT(t)

	f, err := ioutil.TempFile("", "message_dump")
	require.NoError(t, err)
	defer os.Remove(f.Name())
	defer f.Close()

	testMessageDump(t, f, net.ParseIP("1.1.1.1"), net.ParseIP("2.2.2.2"))
}
// This test generates a dump of netlink messages in test_data/message_dump
// In order to execute this test, run go test with `-args netlink_dump`
This test generates a dump of netlink messages in test_data/message_dump
In order to execute this test, run go test with `-args netlink_dump`
// This test generates a dump of netlink messages in test_data / message_dump // In order to execute this test run go test with ` - args netlink_dump `
func TestMessageDump(t *testing.T) {
	skipUnless(t, "netlink_dump")
	defer testutil.TeardownDNAT(t)
	testutil.SetupDNAT(t)
	f, err := ioutil.TempFile("", "message_dump")
	require.NoError(t, err)
	defer os.Remove(f.Name())
	defer f.Close()
	testMessageDump(t, f, net.ParseIP("1.1.1.1"), net.ParseIP("2.2.2.2"))
}
func TestMessageDump ( t * testing . T ) { skipUnless ( t , " " ) defer testutil . TeardownDNAT ( t ) testutil . SetupDNAT ( t ) f , err := ioutil . TempFile ( " " , " " ) require . NoError ( t , err ) defer os . Remove ( f . Name ( ) ) defer f . Close ( ) testMessageDump ( t , f , net . ParseIP ( " " ) , net . ParseIP ( " " ) ) }
This test generates a dump of netlink messages in test_data/message_dump
In order to execute this test, run go test with `-args netlink_dump`
This test generates a dump of netlink messages in test_data / message_dump In order to execute this test run go test with ` - args netlink_dump `