teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

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

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