]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: use python3 in test 1451
authorSamuel Henrique <samueloph@debian.org>
Sun, 24 Oct 2021 17:18:26 +0000 (18:18 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 24 Oct 2021 19:19:40 +0000 (21:19 +0200)
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

tests/data/test1451

index cdbd398f396eb9d9a762af12a0e93029a1321239..9fdd68a614880fceea4a772e5f9571a1231142ea 100644 (file)
@@ -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>