Blame SOURCES/libcgroup-0.41-runlibcgrouptest-systemd-fix.patch

705669
From 92597b479aeb46c6dc630353de16328c365ff083 Mon Sep 17 00:00:00 2001
705669
From: jchaloup <jchaloup@redhat.com>
705669
Date: Fri, 14 Feb 2014 10:29:33 +0100
705669
Subject: [PATCH] runlibcgrouptest script updated to ignore systemd
705669
705669
---
705669
 tests/runlibcgrouptest.sh    | 2 +-
705669
 tests/runlibcgrouptest.sh.in | 2 +-
705669
 2 files changed, 2 insertions(+), 2 deletions(-)
705669
705669
diff --git a/tests/runlibcgrouptest.sh b/tests/runlibcgrouptest.sh
705669
index 221729c..605f045 100644
705669
--- a/tests/runlibcgrouptest.sh
705669
+++ b/tests/runlibcgrouptest.sh
705669
@@ -48,7 +48,7 @@ debug()
705669
 check_mount_fs ()
705669
 {
705669
 	local NUM_MOUNT=0;
705669
-	CGROUP=`cat /proc/mounts|grep -w ^cgroup|tr -s [:space:]|cut -d" " -f3`;
705669
+	CGROUP=`cat /proc/mounts|grep -w ^cgroup|grep -v systemd|tr -s [:space:]|cut -d" " -f3`;
705669
 
705669
 	# get first word in case of multiple mounts
705669
 	CGROUP=`echo $CGROUP|cut -d" " -f1`;
705669
diff --git a/tests/runlibcgrouptest.sh.in b/tests/runlibcgrouptest.sh.in
705669
index 119addd..8a57881 100755
705669
--- a/tests/runlibcgrouptest.sh.in
705669
+++ b/tests/runlibcgrouptest.sh.in
705669
@@ -48,7 +48,7 @@ debug()
705669
 check_mount_fs ()
705669
 {
705669
 	local NUM_MOUNT=0;
705669
-	CGROUP=`cat /proc/mounts|grep -w ^cgroup|tr -s [:space:]|cut -d" " -f3`;
705669
+	CGROUP=`cat /proc/mounts|grep -w ^cgroup|grep -v systemd|tr -s [:space:]|cut -d" " -f3`;
705669
 
705669
 	# get first word in case of multiple mounts
705669
 	CGROUP=`echo $CGROUP|cut -d" " -f1`;
705669
-- 
705669
1.8.5.3
705669