Skip Menu |

Date: Sat, 28 Mar 2015 10:06:59 -0400
From: John Devitofranceschi <>
Subject: python test issues
This seems trivial but...

The shebang line for the following files in src/tests is not the first line in the file. This breaks the tests when
trying to run them individually.

Also, most of the .py files are not executable and they probably should be.

This is useful when trying to run the scripts individually (in verbose mode) w/out having to explicitly running them using 'python' on the command line.

From: Tom Yu <>
Subject: Re: [ #8163] python test issues
Date: Sat, 28 Mar 2015 16:00:01 -0400
For the shebang lines, we should either eliminate the shebang lines
altogether or fix those three files so the shebang lines come first.
(The places where the shebang line doesn't come first seem to be due to
copyright notices being at the very top of the file.)

Only two of the .py files in that directory have execute permissions,
which is OK for in-tree use. (We explicitly invoke the python
interpreter.) It does raise the question of whether we should have the
shebang lines at all.
Subject: git commit

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".
Author: Greg Hudson <>
Commit: b97b84de1a83bf615853facd42bfafab267e2e06
Branch: master
src/appl/gss-sample/ | 3 ++-
src/tests/gssapi/ | 3 ++-
src/tests/ | 3 ++-
src/tests/ | 3 ++-
src/tests/ | 3 ++-
src/util/gss-kernel-lib/ | 3 ++-
6 files changed, 12 insertions(+), 6 deletions(-)