diff options
author | netblue30 <netblue30@yahoo.com> | 2018-04-01 10:41:00 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2018-04-01 10:41:00 -0400 |
commit | 80d0d452d660f2c77af94fc35d2caaea7cfd1cae (patch) | |
tree | 6887b38cef478cf917cc99b56e1d622635e78e02 /test/root/root.sh | |
parent | testing (diff) | |
download | firejail-80d0d452d660f2c77af94fc35d2caaea7cfd1cae.tar.gz firejail-80d0d452d660f2c77af94fc35d2caaea7cfd1cae.tar.zst firejail-80d0d452d660f2c77af94fc35d2caaea7cfd1cae.zip |
testing
Diffstat (limited to 'test/root/root.sh')
-rwxr-xr-x | test/root/root.sh | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/test/root/root.sh b/test/root/root.sh index 22b12cf86..d77982993 100755 --- a/test/root/root.sh +++ b/test/root/root.sh | |||
@@ -3,6 +3,23 @@ | |||
3 | # set a new firejail config file | 3 | # set a new firejail config file |
4 | #cp firejail.config /etc/firejail/firejail.config | 4 | #cp firejail.config /etc/firejail/firejail.config |
5 | 5 | ||
6 | |||
7 | #******************************** | ||
8 | # firecfg | ||
9 | #******************************** | ||
10 | which less | ||
11 | if [ "$?" -eq 0 ]; | ||
12 | then | ||
13 | echo "TESTING: firecfg (test/root/firecfg.exp)" | ||
14 | rm -fr /home/netblue/.local/share/applications-store | ||
15 | mv /home/netblue/.local/share/applications /home/netblue/.local/share/applications-store | ||
16 | ./firecfg.exp | ||
17 | rm -fr /home/netblue/.local/share/applications | ||
18 | mv /home/netblue/.local/share/applications-store /home/netblue/.local/share/applications | ||
19 | else | ||
20 | echo "TESTING SKIP: firecfg, less not found" | ||
21 | fi | ||
22 | |||
6 | #******************************** | 23 | #******************************** |
7 | # servers | 24 | # servers |
8 | #******************************** | 25 | #******************************** |
@@ -107,17 +124,6 @@ rm -f tmpfile | |||
107 | echo "TESTING: firemon events (test/root/firemon-events.exp)" | 124 | echo "TESTING: firemon events (test/root/firemon-events.exp)" |
108 | ./firemon-events.exp | 125 | ./firemon-events.exp |
109 | 126 | ||
110 | #******************************** | ||
111 | # firecfg | ||
112 | #******************************** | ||
113 | which less | ||
114 | if [ "$?" -eq 0 ]; | ||
115 | then | ||
116 | echo "TESTING: firecfg (test/root/firecfg.exp)" | ||
117 | ./firecfg.exp | ||
118 | else | ||
119 | echo "TESTING SKIP: firecfg, less not found" | ||
120 | fi | ||
121 | 127 | ||
122 | # restore the default config file | 128 | # restore the default config file |
123 | #cp ../../etc/firejail.config /etc/firejail/firejail.config | 129 | #cp ../../etc/firejail.config /etc/firejail/firejail.config |