valeriyvdovin / 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

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