]> git.ipfire.org Git - thirdparty/krb5.git/commit
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)
commit2bd410ecdb366083fe9b4e5f6ac4b741b624230b
tree90d4cc301aac54d15deb906a6ff13b616a537990
parent368b0b02390f0450c0123db7b172206d9847b6fd
Explicitly look for python2 in configure.in

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