Re: [PATCH iptables] tests: add regression tests for xtables-translate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 07, 2017 at 12:46:23PM +0200, Pablo M. Bermudo Garay wrote:
> > Nice... But how this works? :)
> >
> > # python xlate-test.py
> > Traceback (most recent call last):
> >   File "xlate-test.py", line 85, in <module>
> >     main()
> >   File "xlate-test.py", line 78, in main
> >     load_test_files()
> >   File "xlate-test.py", line 65, in load_test_files
> >     run_test(test, payload)
> >   File "xlate-test.py", line 43, in run_test
> >     output = subprocess.run(shlex.split(line), stdout=subprocess.PIPE)
> > AttributeError: 'module' object has no attribute 'run'
> 
> The script is written using python3. The shebang points to the python3
> interpreter, so the script can be executed with ./xlate-test.py or
> python3 xlate-test.py.

This seems to need Python 3.5 specifically, this was breaking here
with Python 3.4 ;)

Anyway I have applied this, but I see tests reporting failures...

Please follow up and fix that seem to be related to your setup:

        iptables-translate v1.6.1: label 'bit40' not found

There seem to be also some problems in the current output that cause
mismatches. This may need small fixes to some of the extensions.

I would appreciate if you can follow up and fix those, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux