anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0572-tests-in-RHEL-7-we-don-t-have-python3-by-default.patch

dd65c9
From 8a8fa94333650d3c34fcd42b696598cdc930a876 Mon Sep 17 00:00:00 2001
dd65c9
From: Michal Sekletar <msekleta@redhat.com>
dd65c9
Date: Mon, 2 Oct 2017 16:20:11 +0200
dd65c9
Subject: [PATCH] tests: in RHEL-7 we don't have python3 by default
dd65c9
dd65c9
Note that for running this test it is necessary to install backport of
dd65c9
enum package from python-3.4 to python2.
dd65c9
dd65c9
yum install -y python-enum34
dd65c9
dd65c9
RHEL-only
dd65c9
dd65c9
Related: #1404657, #1471230
dd65c9
---
dd65c9
 test/test-exec-deserialization.py | 2 +-
dd65c9
 1 file changed, 1 insertion(+), 1 deletion(-)
dd65c9
dd65c9
diff --git a/test/test-exec-deserialization.py b/test/test-exec-deserialization.py
c62b8e
index b974b1c133..859778a7a8 100755
dd65c9
--- a/test/test-exec-deserialization.py
dd65c9
+++ b/test/test-exec-deserialization.py
dd65c9
@@ -1,4 +1,4 @@
dd65c9
-#!/usr/bin/python3
dd65c9
+#!/usr/bin/python
dd65c9
 
dd65c9
 #
dd65c9
 #  Copyright 2017 Michal Sekletar <msekleta@redhat.com>