[28842] in CVS-changelog-for-Kerberos-V5
krb5 commit: Make all Python test scripts executable
daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Apr 2 15:41:05 2015
Date: Thu, 2 Apr 2015 15:41:01 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201504021941.t32Jf1et014158@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
https://github.com/krb5/krb5/commit/b97b84de1a83bf615853facd42bfafab267e2e06
commit b97b84de1a83bf615853facd42bfafab267e2e06
Author: Greg Hudson <ghudson@mit.edu>
Date: Wed Apr 1 17:11:23 2015 -0400
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
src/appl/gss-sample/t_gss_sample.py | 3 ++-
src/tests/gssapi/t_ccselect.py | 3 ++-
src/tests/t_ccache.py | 3 ++-
src/tests/t_renprinc.py | 3 ++-
src/tests/t_stringattr.py | 3 ++-
src/util/gss-kernel-lib/t_kgss.py | 3 ++-
6 files changed, 12 insertions(+), 6 deletions(-)
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 faec8a0..c53edd6
--- 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 8858fa8..6be6b4e
--- 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 b1b53f7..47d9631
--- 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 026a6f7..cc78083
--- 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 892d65a..281c872
--- 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 00eab05..18a11ba
--- 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.
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5