summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Henrique <samueloph@debian.org>2021-10-24 18:18:26 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-10-24 21:19:40 +0200
commit352077b4d33d2bc234e98583b6862723693455ad (patch)
tree8bf3270e22cee68fe4581a655f13f5fbda10df2a
parent8e701cc978430d638517d025fade2b0dc1ae9b73 (diff)
downloadcurl-352077b4d33d2bc234e98583b6862723693455ad.tar.gz
tests: use python3 in test 1451
This is a continuation of commit ec91b5a69000bea0794bbb3 in which changing this test was missed. There are no other python2 leftovers now. Based on a Debian patch originally written by Alessandro Ghedini <ghedo@debian.org> Closes #7899
-rw-r--r--tests/data/test14512
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/test1451 b/tests/data/test1451
index cdbd398f3..9fdd68a61 100644
--- a/tests/data/test1451
+++ b/tests/data/test1451
@@ -29,7 +29,7 @@ Basic SMB request
-u 'curltest:curltest' smb://%HOSTIP:%SMBPORT/TESTS/%TESTNUMBER
</command>
<precheck>
-python -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))"
+python3 -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>