From: Greg Hudson Date: Wed, 1 Apr 2015 21:11:23 +0000 (-0400) Subject: Make all Python test scripts executable X-Git-Tag: krb5-1.14-alpha1~146 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b97b84de1a83bf615853facd42bfafab267e2e06;p=thirdparty%2Fkrb5.git Make all Python test scripts executable For the convenience of developers manually running Python test scripts, set the executable bits on all of them, and make sure the first line is always "#!/usr/bin/python". ticket: 8163 --- diff --git a/src/appl/gss-sample/t_gss_sample.py b/src/appl/gss-sample/t_gss_sample.py old mode 100644 new mode 100755 index faec8a07ba..c53edd6ae9 --- a/src/appl/gss-sample/t_gss_sample.py +++ b/src/appl/gss-sample/t_gss_sample.py @@ -1,3 +1,5 @@ +#!/usr/bin/python + # Copyright (C) 2010 by the Massachusetts Institute of Technology. # All rights reserved. # @@ -20,7 +22,6 @@ # this software for any purpose. It is provided "as is" without express # or implied warranty. -#!/usr/bin/python from k5test import * appdir = os.path.join(buildtop, 'appl', 'gss-sample') diff --git a/src/appl/user_user/t_user2user.py b/src/appl/user_user/t_user2user.py old mode 100644 new mode 100755 diff --git a/src/kdc/t_emptytgt.py b/src/kdc/t_emptytgt.py old mode 100644 new mode 100755 diff --git a/src/kdc/t_workers.py b/src/kdc/t_workers.py old mode 100644 new mode 100755 diff --git a/src/lib/kdb/t_stringattr.py b/src/lib/kdb/t_stringattr.py old mode 100644 new mode 100755 diff --git a/src/lib/krad/t_daemon.py b/src/lib/krad/t_daemon.py old mode 100644 new mode 100755 diff --git a/src/lib/krb5/ccache/t_cccol.py b/src/lib/krb5/ccache/t_cccol.py old mode 100644 new mode 100755 diff --git a/src/lib/krb5/krb/t_expire_warn.py b/src/lib/krb5/krb/t_expire_warn.py old mode 100644 new mode 100755 diff --git a/src/lib/krb5/krb/t_in_ccache_patypes.py b/src/lib/krb5/krb/t_in_ccache_patypes.py old mode 100644 new mode 100755 diff --git a/src/lib/krb5/krb/t_vfy_increds.py b/src/lib/krb5/krb/t_vfy_increds.py old mode 100644 new mode 100755 diff --git a/src/tests/gssapi/t_ccselect.py b/src/tests/gssapi/t_ccselect.py old mode 100644 new mode 100755 index 8858fa8680..6be6b4ec06 --- a/src/tests/gssapi/t_ccselect.py +++ b/src/tests/gssapi/t_ccselect.py @@ -1,3 +1,5 @@ +#!/usr/bin/python + # Copyright (C) 2011 by the Massachusetts Institute of Technology. # All rights reserved. @@ -20,7 +22,6 @@ # this software for any purpose. It is provided "as is" without express # or implied warranty. -#!/usr/bin/python from k5test import * # Create two independent realms (no cross-realm TGTs). diff --git a/src/tests/gssapi/t_client_keytab.py b/src/tests/gssapi/t_client_keytab.py old mode 100644 new mode 100755 diff --git a/src/tests/gssapi/t_enctypes.py b/src/tests/gssapi/t_enctypes.py old mode 100644 new mode 100755 diff --git a/src/tests/gssapi/t_export_cred.py b/src/tests/gssapi/t_export_cred.py old mode 100644 new mode 100755 diff --git a/src/tests/gssapi/t_s4u.py b/src/tests/gssapi/t_s4u.py old mode 100644 new mode 100755 diff --git a/src/tests/t_audit.py b/src/tests/t_audit.py old mode 100644 new mode 100755 diff --git a/src/tests/t_bogus_kdc_req.py b/src/tests/t_bogus_kdc_req.py old mode 100644 new mode 100755 diff --git a/src/tests/t_ccache.py b/src/tests/t_ccache.py old mode 100644 new mode 100755 index b1b53f7a3a..47d9631308 --- a/src/tests/t_ccache.py +++ b/src/tests/t_ccache.py @@ -1,3 +1,5 @@ +#!/usr/bin/python + # Copyright (C) 2011 by the Massachusetts Institute of Technology. # All rights reserved. @@ -20,7 +22,6 @@ # this software for any purpose. It is provided "as is" without express # or implied warranty. -#!/usr/bin/python from k5test import * realm = K5Realm(create_host=False) diff --git a/src/tests/t_changepw.py b/src/tests/t_changepw.py old mode 100644 new mode 100755 diff --git a/src/tests/t_crossrealm.py b/src/tests/t_crossrealm.py old mode 100644 new mode 100755 diff --git a/src/tests/t_cve-2012-1014.py b/src/tests/t_cve-2012-1014.py old mode 100644 new mode 100755 diff --git a/src/tests/t_cve-2012-1015.py b/src/tests/t_cve-2012-1015.py old mode 100644 new mode 100755 diff --git a/src/tests/t_cve-2013-1416.py b/src/tests/t_cve-2013-1416.py old mode 100644 new mode 100755 diff --git a/src/tests/t_cve-2013-1417.py b/src/tests/t_cve-2013-1417.py old mode 100644 new mode 100755 diff --git a/src/tests/t_dump.py b/src/tests/t_dump.py old mode 100644 new mode 100755 diff --git a/src/tests/t_errmsg.py b/src/tests/t_errmsg.py old mode 100644 new mode 100755 diff --git a/src/tests/t_hostrealm.py b/src/tests/t_hostrealm.py old mode 100644 new mode 100755 diff --git a/src/tests/t_iprop.py b/src/tests/t_iprop.py old mode 100644 new mode 100755 diff --git a/src/tests/t_kadm5_hook.py b/src/tests/t_kadm5_hook.py old mode 100644 new mode 100755 diff --git a/src/tests/t_kadmin_acl.py b/src/tests/t_kadmin_acl.py old mode 100644 new mode 100755 diff --git a/src/tests/t_kdb.py b/src/tests/t_kdb.py old mode 100644 new mode 100755 diff --git a/src/tests/t_kdb_locking.py b/src/tests/t_kdb_locking.py old mode 100644 new mode 100755 diff --git a/src/tests/t_kdc_log.py b/src/tests/t_kdc_log.py old mode 100644 new mode 100755 diff --git a/src/tests/t_keydata.py b/src/tests/t_keydata.py old mode 100644 new mode 100755 diff --git a/src/tests/t_keyrollover.py b/src/tests/t_keyrollover.py old mode 100644 new mode 100755 diff --git a/src/tests/t_keytab.py b/src/tests/t_keytab.py old mode 100644 new mode 100755 diff --git a/src/tests/t_kprop.py b/src/tests/t_kprop.py old mode 100644 new mode 100755 diff --git a/src/tests/t_localauth.py b/src/tests/t_localauth.py old mode 100644 new mode 100755 diff --git a/src/tests/t_mkey.py b/src/tests/t_mkey.py old mode 100644 new mode 100755 diff --git a/src/tests/t_otp.py b/src/tests/t_otp.py old mode 100644 new mode 100755 diff --git a/src/tests/t_pkinit.py b/src/tests/t_pkinit.py old mode 100644 new mode 100755 diff --git a/src/tests/t_policy.py b/src/tests/t_policy.py old mode 100644 new mode 100755 diff --git a/src/tests/t_proxy.py b/src/tests/t_proxy.py old mode 100644 new mode 100755 diff --git a/src/tests/t_pwqual.py b/src/tests/t_pwqual.py old mode 100644 new mode 100755 diff --git a/src/tests/t_rdreq.py b/src/tests/t_rdreq.py old mode 100644 new mode 100755 diff --git a/src/tests/t_referral.py b/src/tests/t_referral.py old mode 100644 new mode 100755 diff --git a/src/tests/t_renew.py b/src/tests/t_renew.py old mode 100644 new mode 100755 diff --git a/src/tests/t_renprinc.py b/src/tests/t_renprinc.py old mode 100644 new mode 100755 index 026a6f7dc0..cc780839ae --- a/src/tests/t_renprinc.py +++ b/src/tests/t_renprinc.py @@ -1,3 +1,5 @@ +#!/usr/bin/python + # Copyright (C) 2011 by the Massachusetts Institute of Technology. # All rights reserved. @@ -20,7 +22,6 @@ # this software for any purpose. It is provided "as is" without express # or implied warranty. -#!/usr/bin/python from k5test import * enctype = "aes128-cts" diff --git a/src/tests/t_sesskeynego.py b/src/tests/t_sesskeynego.py old mode 100644 new mode 100755 diff --git a/src/tests/t_skew.py b/src/tests/t_skew.py old mode 100644 new mode 100755 diff --git a/src/tests/t_sn2princ.py b/src/tests/t_sn2princ.py old mode 100644 new mode 100755 diff --git a/src/tests/t_stringattr.py b/src/tests/t_stringattr.py old mode 100644 new mode 100755 index 892d65a872..281c8726f6 --- a/src/tests/t_stringattr.py +++ b/src/tests/t_stringattr.py @@ -1,3 +1,5 @@ +#!/usr/bin/python + # Copyright (C) 2011 by the Massachusetts Institute of Technology. # All rights reserved. @@ -20,7 +22,6 @@ # this software for any purpose. It is provided "as is" without express # or implied warranty. -#!/usr/bin/python from k5test import * realm = K5Realm(start_kadmind=True, create_host=False, get_creds=False) diff --git a/src/tests/t_unlockiter.py b/src/tests/t_unlockiter.py old mode 100644 new mode 100755 diff --git a/src/util/gss-kernel-lib/t_kgss.py b/src/util/gss-kernel-lib/t_kgss.py old mode 100644 new mode 100755 index 00eab050e7..18a11ba31e --- a/src/util/gss-kernel-lib/t_kgss.py +++ b/src/util/gss-kernel-lib/t_kgss.py @@ -1,3 +1,5 @@ +#!/usr/bin/python + # Copyright (C) 2011 by the Massachusetts Institute of Technology. # All rights reserved. # @@ -20,7 +22,6 @@ # this software for any purpose. It is provided "as is" without express # or implied warranty. -#!/usr/bin/python from k5test import * # Test krb5 negotiation under SPNEGO for all enctype configurations.