From 4be2560e01ed40e256b5143c8b4f5de2450ffefd Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Sun, 15 Mar 2020 10:01:38 +0100 Subject: tests: remove python_dependencies for smbserver from our tree Users of the SMB tests will have to install impacket manually. Reasoning: our in-tree version of impacket was quite outdated and only compatible with Python 2 which is already end-of-life. Upgrading to Python 3 and a compatible impacket version would require to import additional Python-only and CPython-extension dependencies. This would have hindered portability enormously. Closes #5094 --- tests/data/test1451 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/data') diff --git a/tests/data/test1451 b/tests/data/test1451 index a98e24ec6..a45f41eed 100644 --- a/tests/data/test1451 +++ b/tests/data/test1451 @@ -28,6 +28,9 @@ Basic SMB request -u 'curltest:curltest' smb://%HOSTIP:%SMBPORT/TESTS/1451 + +python2 -c "__import__('pkgutil').find_loader('impacket') or (__import__('sys').stdout.write('Test only works if Python package impacket is installed\n'), __import__('sys').exit(1))" + # -- cgit v1.2.3