From 95544a17fac7e5fb2b0eabe3d96305813fc96a1b Mon Sep 17 00:00:00 2001 From: netblue30 Date: Mon, 13 Jun 2022 09:26:37 -0400 Subject: more on disable cgroups --- test/utils/firemon-cgroup.exp | 40 ---------------------------------------- test/utils/utils.sh | 3 --- 2 files changed, 43 deletions(-) delete mode 100755 test/utils/firemon-cgroup.exp (limited to 'test') diff --git a/test/utils/firemon-cgroup.exp b/test/utils/firemon-cgroup.exp deleted file mode 100755 index 2dbc04a50..000000000 --- a/test/utils/firemon-cgroup.exp +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/expect -f -# This file is part of Firejail project -# Copyright (C) 2014-2022 Firejail Authors -# License GPL v2 - -set timeout 10 -spawn $env(SHELL) -match_max 100000 - -send -- "firejail --name=test1\r" -expect { - timeout {puts "TESTING ERROR 0\n";exit} - -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" -} -sleep 1 - -spawn $env(SHELL) -send -- "firejail --name=test2\r" -expect { - timeout {puts "TESTING ERROR 1\n";exit} - -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" -} -sleep 1 - -spawn $env(SHELL) -send -- "firemon --cgroup\r" -sleep 4 -expect { - timeout {puts "TESTING ERROR 2\n";exit} - "need to be root" {puts "TESTING SKIP: /proc mounted as hidepid\n"; exit} - "name=test1" -} -expect { - timeout {puts "TESTING ERROR 3\n";exit} - "name=test2" -} - -after 100 - -puts "\nall done\n" diff --git a/test/utils/utils.sh b/test/utils/utils.sh index 18f749ed8..102c8df17 100755 --- a/test/utils/utils.sh +++ b/test/utils/utils.sh @@ -129,9 +129,6 @@ fi echo "TESTING: firemon cpu (test/utils/firemon-cpu.exp)" ./firemon-cpu.exp -echo "TESTING: firemon cgroup (test/utils/firemon-cgroup.exp)" -./firemon-cgroup.exp - echo "TESTING: firemon version (test/utils/firemon-version.exp)" ./firemon-version.exp -- cgit v1.2.3-70-g09d2