aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1451
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test1451')
-rw-r--r--tests/data/test14513
1 files changed, 3 insertions, 0 deletions
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
<command>
-u 'curltest:curltest' smb://%HOSTIP:%SMBPORT/TESTS/1451
</command>
+<precheck>
+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))"
+</precheck>
</client>
#