selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] selinux-testsuite: fix old python shebang in tests/overlay/access
@ 2019-06-19 14:26 Stephen Smalley
  2019-06-19 14:40 ` Paul Moore
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Smalley @ 2019-06-19 14:26 UTC (permalink / raw)
  To: selinux; +Cc: paul, Stephen Smalley

/usr/bin/python is no longer installed by default, so this test
script fails on default installs.
Best practice guidance appears to be to switch to using
/usr/bin/python3 instead, per
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/

Fixes: #46
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
---
 tests/overlay/access | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/overlay/access b/tests/overlay/access
index 5a47eb145904..e50d5b402ebd 100755
--- a/tests/overlay/access
+++ b/tests/overlay/access
@@ -1,4 +1,4 @@
-#!/bin/python
+#!/usr/bin/python3
 import os, sys
 try:
         acc=eval("os.%s" % sys.argv[2])
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-06-23 17:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-19 14:26 [PATCH] selinux-testsuite: fix old python shebang in tests/overlay/access Stephen Smalley
2019-06-19 14:40 ` Paul Moore
2019-06-19 16:04   ` Stephen Smalley
2019-06-21 15:44     ` Paul Moore
2019-06-23 17:01       ` Nicolas Iooss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).