diff options
author | Alessandro Ghedini <ghedo@debian.org> | 2021-06-25 20:59:54 +0200 |
---|---|---|
committer | Paul Gevers <elbrus@debian.org> | 2021-06-25 20:59:54 +0200 |
commit | cd622db6402131bf6d7faee54bb3a86dc31b1c5e (patch) | |
tree | 2d5b85f0d97a04059bf445d8f8fe724c112627af | |
parent | ff0b8cd3f0c4b87ad9b2ca6fa9dec1c6d9109ca4 (diff) |
Use python3 executable in tests
Origin: vendor
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2020-08-24
Gbp-Pq: Name 12_use-python3-in-tests.patch
-rw-r--r-- | tests/data/test1451 | 2 | ||||
-rwxr-xr-x | tests/dictserver.py | 2 | ||||
-rwxr-xr-x | tests/negtelnetserver.py | 2 | ||||
-rwxr-xr-x | tests/smbserver.py | 2 | ||||
-rwxr-xr-x | tests/util.py | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/data/test1451 b/tests/data/test1451 index 9337b8b9..dd3706aa 100644 --- a/tests/data/test1451 +++ b/tests/data/test1451 @@ -29,7 +29,7 @@ Basic SMB request -u 'curltest:curltest' smb://%HOSTIP:%SMBPORT/TESTS/1451 </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> diff --git a/tests/dictserver.py b/tests/dictserver.py index 18743284..464c4714 100755 --- a/tests/dictserver.py +++ b/tests/dictserver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- #*************************************************************************** # _ _ ____ _ diff --git a/tests/negtelnetserver.py b/tests/negtelnetserver.py index 207a6413..3e2afd92 100755 --- a/tests/negtelnetserver.py +++ b/tests/negtelnetserver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Project ___| | | | _ \| | diff --git a/tests/smbserver.py b/tests/smbserver.py index a49023b0..c04b1be0 100755 --- a/tests/smbserver.py +++ b/tests/smbserver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Project ___| | | | _ \| | diff --git a/tests/util.py b/tests/util.py index 70f6b435..0bc254a2 100755 --- a/tests/util.py +++ b/tests/util.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Project ___| | | | _ \| | |