diff options
author | netblue30 <netblue30@yahoo.com> | 2016-11-11 12:52:05 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-11-11 12:52:05 -0500 |
commit | bb5b4077e6f3549b35e8b420d882717141c069b9 (patch) | |
tree | 47643718c811531456e26913795edbcbff55ac05 /test/utils | |
parent | hidepid part 4 (diff) | |
download | firejail-bb5b4077e6f3549b35e8b420d882717141c069b9.tar.gz firejail-bb5b4077e6f3549b35e8b420d882717141c069b9.tar.zst firejail-bb5b4077e6f3549b35e8b420d882717141c069b9.zip |
hidepid part 5
Diffstat (limited to 'test/utils')
-rwxr-xr-x | test/utils/firemon-caps.exp (renamed from test/utils/caps.exp) | 1 | ||||
-rwxr-xr-x | test/utils/firemon-cgroup.exp | 1 | ||||
-rwxr-xr-x | test/utils/firemon-cpu.exp | 1 | ||||
-rwxr-xr-x | test/utils/firemon-seccomp.exp (renamed from test/utils/seccomp.exp) | 1 | ||||
-rwxr-xr-x | test/utils/utils.sh | 12 |
5 files changed, 10 insertions, 6 deletions
diff --git a/test/utils/caps.exp b/test/utils/firemon-caps.exp index ab1067921..76aa13725 100755 --- a/test/utils/caps.exp +++ b/test/utils/firemon-caps.exp | |||
@@ -66,6 +66,7 @@ spawn $env(SHELL) | |||
66 | send -- "firemon --caps\r" | 66 | send -- "firemon --caps\r" |
67 | expect { | 67 | expect { |
68 | timeout {puts "TESTING ERROR 8.1\n";exit} | 68 | timeout {puts "TESTING ERROR 8.1\n";exit} |
69 | "need to be root" {puts "TESTING SKIP: /proc mounted as hidepid\n"; exit} | ||
69 | "bingo1" | 70 | "bingo1" |
70 | } | 71 | } |
71 | expect { | 72 | expect { |
diff --git a/test/utils/firemon-cgroup.exp b/test/utils/firemon-cgroup.exp index 3cd4f5a03..b1ab083ae 100755 --- a/test/utils/firemon-cgroup.exp +++ b/test/utils/firemon-cgroup.exp | |||
@@ -27,6 +27,7 @@ send -- "firemon --cgroup\r" | |||
27 | sleep 4 | 27 | sleep 4 |
28 | expect { | 28 | expect { |
29 | timeout {puts "TESTING ERROR 2\n";exit} | 29 | timeout {puts "TESTING ERROR 2\n";exit} |
30 | "need to be root" {puts "TESTING SKIP: /proc mounted as hidepid\n"; exit} | ||
30 | "name=test1" | 31 | "name=test1" |
31 | } | 32 | } |
32 | expect { | 33 | expect { |
diff --git a/test/utils/firemon-cpu.exp b/test/utils/firemon-cpu.exp index 22e44512c..f2ecd4a5c 100755 --- a/test/utils/firemon-cpu.exp +++ b/test/utils/firemon-cpu.exp | |||
@@ -27,6 +27,7 @@ send -- "firemon --cpu\r" | |||
27 | sleep 4 | 27 | sleep 4 |
28 | expect { | 28 | expect { |
29 | timeout {puts "TESTING ERROR 2\n";exit} | 29 | timeout {puts "TESTING ERROR 2\n";exit} |
30 | "need to be root" {puts "TESTING SKIP: /proc mounted as hidepid\n"; exit} | ||
30 | "name=test1" | 31 | "name=test1" |
31 | } | 32 | } |
32 | expect { | 33 | expect { |
diff --git a/test/utils/seccomp.exp b/test/utils/firemon-seccomp.exp index c9726ff21..26c478344 100755 --- a/test/utils/seccomp.exp +++ b/test/utils/firemon-seccomp.exp | |||
@@ -29,6 +29,7 @@ spawn $env(SHELL) | |||
29 | send -- "firemon --seccomp\r" | 29 | send -- "firemon --seccomp\r" |
30 | expect { | 30 | expect { |
31 | timeout {puts "TESTING ERROR 1\n";exit} | 31 | timeout {puts "TESTING ERROR 1\n";exit} |
32 | "need to be root" {puts "TESTING SKIP: /proc mounted as hidepid\n"; exit} | ||
32 | "bingo1" | 33 | "bingo1" |
33 | } | 34 | } |
34 | expect { | 35 | expect { |
diff --git a/test/utils/utils.sh b/test/utils/utils.sh index 557f2c961..7b0ab1096 100755 --- a/test/utils/utils.sh +++ b/test/utils/utils.sh | |||
@@ -82,18 +82,18 @@ rm -f index.html* | |||
82 | ./trace.exp | 82 | ./trace.exp |
83 | rm -f index.html* | 83 | rm -f index.html* |
84 | 84 | ||
85 | echo "TESTING: firemon --seccomp (test/utils/seccomp.exp)" | ||
86 | ./seccomp.exp | ||
87 | |||
88 | echo "TESTING: firemon --caps (test/utils/caps.exp)" | ||
89 | ./caps.exp | ||
90 | |||
91 | echo "TESTING: top (test/utils/top.exp)" | 85 | echo "TESTING: top (test/utils/top.exp)" |
92 | ./top.exp | 86 | ./top.exp |
93 | 87 | ||
94 | echo "TESTING: file transfer (test/utils/ls.exp)" | 88 | echo "TESTING: file transfer (test/utils/ls.exp)" |
95 | ./ls.exp | 89 | ./ls.exp |
96 | 90 | ||
91 | echo "TESTING: firemon --seccomp (test/utils/firemon-seccomp.exp)" | ||
92 | ./firemon-seccomp.exp | ||
93 | |||
94 | echo "TESTING: firemon --caps (test/utils/firemon-caps.exp)" | ||
95 | ./firemon-caps.exp | ||
96 | |||
97 | echo "TESTING: firemon cpu (test/utils/firemon-cpu.exp)" | 97 | echo "TESTING: firemon cpu (test/utils/firemon-cpu.exp)" |
98 | ./firemon-cpu.exp | 98 | ./firemon-cpu.exp |
99 | 99 | ||