]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Explicitly look for python2 in configure.in 806/head
authorGreg Hudson <ghudson@mit.edu>
Tue, 3 Jul 2018 05:20:50 +0000 (01:20 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 5 Jul 2018 19:02:24 +0000 (15:02 -0400)
The executable "python" has traditionally been Python 2, but is
becoming more ambiguous as operating systems transition towards Python
3.  Look for "python2" in the path in preference to "python", and
check that what we found isn't Python 3.

Remove the "#!/usr/bin/python" headers at the start of Python test
scripts since we run them explicitly under python, not as executables.
Execute paste-kdcproxy.py via sys.executable in t_proxy.py so that it
doesn't need a #!/usr/bin/python header.

ticket: 8709 (new)

75 files changed:
src/appl/gss-sample/t_gss_sample.py
src/appl/user_user/t_user2user.py
src/configure.in
src/kadmin/dbutil/t_tdumputil.py
src/kdc/t_bigreply.py
src/kdc/t_emptytgt.py
src/kdc/t_workers.py
src/lib/kdb/t_stringattr.py
src/lib/krad/t_daemon.py
src/lib/krb5/ccache/t_cccol.py
src/lib/krb5/krb/t_expire_warn.py
src/lib/krb5/krb/t_in_ccache_patypes.py
src/lib/krb5/krb/t_vfy_increds.py
src/lib/krb5/os/t_discover_uri.py
src/tests/gssapi/t_authind.py
src/tests/gssapi/t_ccselect.py
src/tests/gssapi/t_client_keytab.py
src/tests/gssapi/t_enctypes.py
src/tests/gssapi/t_export_cred.py
src/tests/gssapi/t_gssapi.py
src/tests/gssapi/t_s4u.py
src/tests/jsonwalker.py
src/tests/t_audit.py
src/tests/t_authdata.py
src/tests/t_bogus_kdc_req.py
src/tests/t_ccache.py
src/tests/t_certauth.py
src/tests/t_changepw.py
src/tests/t_crossrealm.py
src/tests/t_cve-2012-1014.py
src/tests/t_cve-2012-1015.py
src/tests/t_cve-2013-1416.py
src/tests/t_cve-2013-1417.py
src/tests/t_dump.py
src/tests/t_errmsg.py
src/tests/t_etype_info.py
src/tests/t_general.py
src/tests/t_hooks.py
src/tests/t_hostrealm.py
src/tests/t_iprop.py
src/tests/t_kadm5_auth.py
src/tests/t_kadm5_hook.py
src/tests/t_kadmin_acl.py
src/tests/t_kadmin_parsing.py
src/tests/t_kdb.py
src/tests/t_kdb_locking.py
src/tests/t_kdc_log.py
src/tests/t_kdcpolicy.py
src/tests/t_keydata.py
src/tests/t_keyrollover.py
src/tests/t_keytab.py
src/tests/t_kprop.py
src/tests/t_localauth.py
src/tests/t_mkey.py
src/tests/t_otp.py
src/tests/t_pkinit.py
src/tests/t_policy.py
src/tests/t_preauth.py
src/tests/t_princflags.py
src/tests/t_proxy.py
src/tests/t_pwqual.py
src/tests/t_rdreq.py
src/tests/t_referral.py
src/tests/t_renew.py
src/tests/t_renprinc.py
src/tests/t_salt.py
src/tests/t_sesskeynego.py
src/tests/t_skew.py
src/tests/t_sn2princ.py
src/tests/t_spake.py
src/tests/t_stringattr.py
src/tests/t_tabdump.py
src/tests/t_unlockiter.py
src/tests/t_y2038.py
src/util/paste-kdcproxy.py

index c053b27808be8883d938ec2196cc1c214fca51e6..77f39789fc37bac128d27e3d50eb42af838467b4 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 # Copyright (C) 2010 by the Massachusetts Institute of Technology.
 # All rights reserved.
 #
index 2a7d03f8dc8744eac28fb16c23740845fc9244d3..2c054f1819cbd0ddd0abd3b421361e7c17db6ecc 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # If uuserver is not compiled under -DDEBUG, then set to 0
index f8ff3da12a8d2b756da3a3f3dc9e29332f1209a5..c4932576970006a6d824d9fe35ba5843a189629d 100644 (file)
@@ -1100,13 +1100,16 @@ fi
 AC_SUBST(HAVE_RUNTEST)
 
 # For Python tests.
-AC_CHECK_PROG(PYTHON,python,python)
+AC_CHECK_PROG(PYTHON,python2,python2)
+if text x"$PYTHON" = x; then
+       AC_CHECK_PROG(PYTHON,python,python)
+fi
 HAVE_PYTHON=no
 if test x"$PYTHON" != x; then
        # k5test.py requires python 2.4 (for the subprocess module).
        # Some code needs python 2.5 (for syntax like conditional expressions).
-       vercheck="import sys;sys.exit((sys.hexversion < 0x2050000) and 1 or 0)"
-       if python -c "$vercheck"; then
+       wantver="(sys.hexversion >= 0x2050000 and sys.hexversion < 0x3000000)"
+       if "$PYTHON" -c "import sys; sys.exit(not $wantver and 1 or 0)"; then
                HAVE_PYTHON=yes
        fi
 fi
index 5d7ac38d2fba17887750ae3e7def0953d8bfc50e..52e3565330d97018795913616bfed5f4bc1b221f 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 from k5test import *
 from subprocess import *
 
index 6bc9a8fe098aba63b64a4b0e568df0a195d1cd09..b6300154f9ee3416ea6a8182f24e4a04b4524dfd 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Set the maximum UDP reply size very low, so that all replies go
index 2d0432e338ac9dfa785342b825a7c70709666288..c601c010ca19432604083bc22cea72a2604e5389 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 realm = K5Realm(create_host=False)
index 6dd4f68051a9fe200222507f9a470f98f641e788..8de3f34d9d9be7f9d8db22646153814b18b217a5 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 realm = K5Realm(start_kdc=False, create_host=False)
index 085e179e44f4fefbc1d46ae5648ea07a6571c303..93e2b0c0171b4b0e452a6e4f032d3c5fa1f8c400 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 realm = K5Realm(create_kdb=False)
index dcda0050b05fa634972aba770c6d0838f7b50c82..7d7a5d0c89e38c2e0f10719b387cc05028c80863 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Copyright 2013 Red Hat, Inc.  All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
index 0d78b5cfe7bb1de1019d0f50b37805f8ec5c758e..caa87e0df27199b9ad4809e3392325baac49914d 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 realm = K5Realm(create_kdb=False)
index aed39e3995ab6d395dd6a84063394ec703551618..781f2728a092d443eba0db9c25be95bf50533a6a 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 # Copyright (C) 2010 by the Massachusetts Institute of Technology.
 # All rights reserved.
 #
index c042340643f2a3528bc330d4be7d9834eaef47f0..b2812688cd14311f30976f280a3dcf87cfe329b7 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 # Copyright (C) 2010,2012 by the Massachusetts Institute of Technology.
 # All rights reserved.
 #
index 1e8e26224727665cf2f966cf47ff71f6adad0f27..ae422a9c84baeaa311dc8c016e3b4df67ca4a566 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 # Copyright (C) 2011 by the Massachusetts Institute of Technology.
 # All rights reserved.
 #
index 278f9837154186fcb6f873357c133ed073c3f8ee..87bac179294a0b064229ca7e31823cfda8d4ce47 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 entries = ('URI _kerberos.TEST krb5srv::kkdcp:https://kdc1 1 1\n',
index 84793beb623f786a2e06b44e20156727be29d52a..af1741a2392352236fc0e5f267aeadb89aad28e9 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Test authentication indicators.  Load the test preauth module so we
index 2c65d39d7933ee6345191547e362db00f8258b3a..9ca66554fb231cc1f2301c7379e01342d93d91ae 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 # Copyright (C) 2011 by the Massachusetts Institute of Technology.
 # All rights reserved.
 
index 2da87f45b5b2f2914c123cf90629dde9a9174ecc..e474a27c7bcd0a65b80bc65b4a8e4b181ffa8e2c 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Set up a basic realm and a client keytab containing two user principals.
index f513db2b55cf7af77f8c0c81441c793731678a2b..ee43ff028ca79c010c748b1b04f8e62a480b4cf5 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Define some convenience abbreviations for enctypes we will see in
index b98962788b586ef95f6c07b48c9519c76030229d..89167bcc51d5d279a8dfe4276e859c3108c80f25 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Test gss_export_cred and gss_import_cred for initiator creds,
index 6da5fceff3be81b83c7dae91ba80b27eb532434c..a7dda20fbfe0baa1d0dffe8651d663e9fab20a8c 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Test krb5 negotiation under SPNEGO for all enctype configurations.  Also
index e4cd68469300052044a86c74e3460d3b0f03b5cb..fc9d9e8a46146b3bdca6dd176efbc8a0c0fcdfe6 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 realm = K5Realm(create_host=False, get_creds=False)
index 265c69c703a2ec74ddb86b594236b3d5c8158711..942ca2db7301f38ce04cdeb4472f4fd8cb911a17 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 import sys
 try:
     import cjson
index 00e96bfea69d80f00f4a4cea34cf4bd5d1ea8bcc..0f880edb2b2ed113039a2ee2e09206b00bfb3c2d 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 conf = {'plugins': {'audit': {
index eef701ad431d2df3e0bdf46d417ae60d25c51d35..d98974b369d0789e7a64ea039f49f8ce0916cd6c 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Load the sample KDC authdata module.
index b6208ca685f1a251ca0db69710457f86a7163a77..a101c0e1010b27e7666bcd5129ab54193a3fc3a0 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 import base64
 import socket
 from k5test import *
index 4ddb83a2f06b56abe606e902b64eb793c5d0a6e2..48022600beb012bec3a6abdb0e70989361576fd2 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 # Copyright (C) 2011 by the Massachusetts Institute of Technology.
 # All rights reserved.
 
index e64a57b0d5eb1efc0aecdd7cc271701b0249e289..9c70945253f443cf52c8e7f68a6f6aca35aaf9a9 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Skip this test if pkinit wasn't built.
index 37fe4fce1ae7c99488c95e93ecf8d8b3fdb45b63..211cda6c3c6cf7369f06c0d24f9b88168bc750f9 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # This file is intended to cover any password-changing mechanism.  For
index cd7f4aaca1bc1ab66e677b3068950f5b1aea9781..73259c30faf2eb52fbb38a328893c991070554b1 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 # Copyright (C) 2011 by the Massachusetts Institute of Technology.
 # All rights reserved.
 #
index e02162d6c23d064443fb5f428f68f8032fe9a8d6..dcff95f6eda9f833b89ed2b8c3cd490aabb3f3c5 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 import base64
 import socket
 from k5test import *
index e00c4dc9003b2b161379f08b15abdebb126e01d5..28b1e619b628ad54f8f79a6fb1f8079067da13c4 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 import base64
 import socket
 from k5test import *
index 94fb6d5ef1139dae121512a1b204e58c3e99f8b6..8c4391a86cd2f915618338118a4e341bc0d42d6e 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 from k5test import *
 
 realm = K5Realm()
index c26930a301347d528091a4d354c95d51cfaf2a14..ce47d21ca7b2292f036547d28d5f07f16413c4ef 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 from k5test import *
 
 realm = K5Realm(realm='TEST')
index 22cff005344620ce10e35fa970b9853e4884f188..d803d56028e7f1c718f7b6219f13dff46ad4e87a 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 from filecmp import cmp
 
index c9ae6637fa12c137a5a47ea3463d1b75231e8d7c..4aacf4e0a4b7f4913617fc4340ef5755b5dbbc84 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 realm = K5Realm(create_kdb=False)
index 00113aaa521266c634fd27c73a3c3dc754736d4e..2026e78761458cae969c356c4f92ea75411f2cb7 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 supported_enctypes = 'aes128-cts des3-cbc-sha1 rc4-hmac des-cbc-crc:afs3'
index 3490d28bbaa1bf7cda721d2ed5d82a4df60a2d84..043f751a381bfe13334a5a364a109a275cac688d 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 for realm in multipass_realms(create_host=False):
index 58dff3ae7952eff01572dc7c9ca1004c5f228e49..4fd3822e8f2b273f0adf022872d21c21f0fa2b10 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Test that KDC send and recv hooks work correctly.
index c14c9267e0f2558ba5b3ffe82be946ca143bfaa9..18319bdc4a636418b7331403ba78fee769d14f65 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 plugin = os.path.join(buildtop, "plugins", "hostrealm", "test",
index 54b4098a859dabaa5fbc9fbfdab4766ce9cd7ffc..f4fae69e9407a89e306c70eadd99325481ddc918 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 import os
 import re
 
index ba4ab8ef10cf636a7ce0cdc3b9c7ae3e21d15afb..6e0f42b087409ebd69197995b282b85f36b47374 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Create a realm with the welcomer and bouncer kadm5_auth test modules
index c1c8c9419c093ce265c3d27d50ec46e3653ccfcc..32fab781db7d79eeed8c2522ab5975a2963c7418 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 plugin = os.path.join(buildtop, "plugins", "kadm5_hook", "test",
index d5a1326392c43e017600da28679e2d8f1adce46b..86eb59729f7dbb9a6a8837c0ce744a3acf16275b 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 import os
 
index 8de387c647a3423552b70fabd08f4682198faca1..bebb014888700815a35452c7b1b743027aab5e05 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # This file contains tests for kadmin command parsing.  Principal
index 78de223d14d0b543ddc3f02ec6d655e95b0af5a7..fc0df92b21eaa9de1f3d9687a7e970f98adab352 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 import time
 from itertools import imap
index ea32ad7174f64b0301059e11b81d2a174b3dc4aa..9ae42a827cdbabcbdbe7b2c9d643af3a416cce43 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 # This is a regression test for
 # https://bugzilla.redhat.com/show_bug.cgi?id=586032 .
 #
index 8ddb7691b9a6219b3ad2c3fdc70f40b795104153..1b14828de65f70fb1f6c1101b8051dc2358fdaea 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 from k5test import *
 
 # Make a TGS request with an expired ticket.
index 5b198bb430c525b4b55d428e52be96c6f9d38331..a44adfdb5e26263cd2e6d8b31bdb8b801831ff2f 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 from datetime import datetime
 import re
index 5c04a8523f088a71d3ac361f3ef4f56a30be435a..b37233b212ad1264f97d636eb881be0b0a01c757 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 realm = K5Realm(create_user=False, create_host=False)
index bfd38914b7a01a198d122b9d68601576acdfcf2f..7c8d828f0e7204add39595d04df32a3653703bcd 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 rollover_krb5_conf = {'libdefaults': {'allow_weak_crypto': 'true'}}
index 91fd23d3c8f3043d8c440ebb535bb23cfb17fe72..0bc4e6ee8de1e731d82b15b108218bf4f12a8ae5 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 for realm in multipass_realms(create_user=False):
index 39169675d6c40a8db45095dca8b4bb19a7594d29..f352ec8d7f1263b00d6be41217149463e86b0537 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 conf_slave = {'dbmodules': {'db': {'database_name': '$testdir/db.slave'}}}
index 63fc563ae3d8c5139eee36793b59209d33a31bcd..33390c49a44c098f8cb4c5484283c3539851372c 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Unfortunately, we can't reliably test the k5login module.  We can control
index 998297ed64df02a0b3d4433b8fee6dba90dfef88..c52fba6d0437d439b3bb5cb55ae871a7d8e94450 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 import random
 import re
index 2bbc9a117be580c4fd3835f22251fd43a1575f23..c7e7363d28fd4aa53c36ee94c23c330941059937 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Author: Nathaniel McCallum <npmccallum@redhat.com>
 #
 # Copyright (c) 2013 Red Hat, Inc.
index b97ff83633f092e45c900b421f4f9b022faf6b7e..6ea294c8abff46083a2721545e77d4ce4956a911 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Skip this test if pkinit wasn't built.
index 5c9e87c56125e329ba36849e4946d5623452f188..5a0c06b866dc57d252e8090dd7ae9a5916cdfa30 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 import re
 
index be6d2b3dfd0957d7d536fe0ac21d99526eb1a3a5..d95eed5d862d9b62ea1af084b7b9d3c23fb6a1ce 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Test that the kdcpreauth client_keyblock() callback matches the key
index 6378ef94fce2d52adf8e182ddb2271e8f32e5a81..aa366021738bf182e4a23392a6728431e5c0da31 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 from princflags import *
 import re
index 428d2f6b0681b798976724a943ee6dce59513e5d..ef855ddae8558366409489bae703fdc1f3d38f6e 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Skip this test if we're missing proxy functionality or parts of the proxy.
@@ -62,7 +61,8 @@ def start_proxy(realm, keycertpem):
     conf.write('kpasswd = kpasswd://localhost:%d\n' % (realm.portbase + 2))
     conf.close()
     realm.env['KDCPROXY_CONFIG'] = proxy_conf_path
-    cmd = [proxy_exec_path, str(realm.server_port()), keycertpem]
+    cmd = [sys.executable, proxy_exec_path, str(realm.server_port()),
+           keycertpem]
     return realm.start_server(cmd, sentinel='proxy server ready')
 
 # Fail: untrusted issuer and hostname doesn't match.
index 6114271fdc7f6c01a3dc3f2c25a506accdb48542..58d610d8b6f56d35fbde3ccb4c2862691cf3012c 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 plugin = os.path.join(buildtop, "plugins", "pwqual", "test", "pwqual_test.so")
index 1fb258b1a91aa3a85f14e9e13b7fbe56f0d3026f..7b120b1d62c55a2565fe5ea47c4e122abc8cb42c 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 conf = {'realms': {'$realm': {'supported_enctypes': 'aes256-cts aes128-cts'}}}
index 3be7dcca18451c2372033d2660fd614281452553..2b6ed5d21e2863c3daccf5ffddb9f9b910f1af81 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Create a pair of realms, where KRBTEST1.COM can authenticate to
index 88404166f5ffa397ece59acc86f24f510e53d62c..f1bdccff62a7630a15f579a8a09d11e69b9b4355 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 from datetime import datetime
 import re
index cc780839aef07ca3d49db1e504b159b69cb25ed6..46cbed441e19c87d111f61e4e7b89772e3f9644b 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 # Copyright (C) 2011 by the Massachusetts Institute of Technology.
 # All rights reserved.
 
index ddb1905ed567cbc106ad58eb41f6db63106fc354..278911a223bd3be24dacda7c047675cf410db73b 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 import re
 
index 732c306eab8eb206dc66070e70d10ad4605586f8..448092387309c44e8311b9790c923fd7290edc45 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 import re
 
index fffc634a1810a863b0fb04ddd3a2e3dd4591ab84..ed40edecf64aab56e76ea0ef24f3590232ba1940 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Create a realm with the KDC one hour in the past.
index 66f31e2de777168d2e8255708707c6ece0721cae..1ffda51f43a13ae7c7cf893eb83896aef8b0b0a8 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 offline = (len(args) > 0 and args[0] != "no")
index 15a6439f82a38d66c409347b041adb1730408da8..f0afefb605650cfe6ebd444dbf70331bca300820 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # The name and number of each supported SPAKE group.
index 5672a0f2006b09a80744d8480b763b75afcfa162..c2dc348e9004068e5d02662e5bf06e2e5e89f2fe 100755 (executable)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 # Copyright (C) 2011 by the Massachusetts Institute of Technology.
 # All rights reserved.
 
index 066e48418af8dc05bf3ef225ccb532ad6a9c916a..2a86136dd8bdd7803a268257217b7e577554e2e7 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 import csv
index 60ed77ce360b59b201af14ddc55299cc6bebfc3f..fb18abc6c6c07cceae39b882dd71116d1844d625 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # Default KDB iteration is locked.  Expect write lock failure unless
index a9017b40db8e8942b2c7b92d15f283925dd4dced..2eaa191e72e6227bae4905290dd8931b3f479302 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 from k5test import *
 
 # These tests will become much less important after the y2038 boundary
index 1e56b89542db371d48d38ae8b87b52769bf086d1..30467fd74b2a4fd44ab57e7cefe35aa0b2968cdf 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 import kdcproxy
 from paste import httpserver
 import os