aboutsummaryrefslogtreecommitdiffstats
path: root/test/root/root.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/root/root.sh')
-rwxr-xr-xtest/root/root.sh29
1 files changed, 18 insertions, 11 deletions
diff --git a/test/root/root.sh b/test/root/root.sh
index 22b12cf86..4132bc739 100755
--- a/test/root/root.sh
+++ b/test/root/root.sh
@@ -3,6 +3,21 @@
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#********************************
10which less
11if [ "$?" -eq 0 ];
12then
13 echo "TESTING: firecfg (test/root/firecfg.exp)"
14 mv /home/netblue/.local/share/applications /home/netblue/.local/share/applications-store
15 ./firecfg.exp
16 mv /home/netblue/.local/share/applications-store /home/netblue/.local/share/applications
17else
18 echo "TESTING SKIP: firecfg, less not found"
19fi
20
6#******************************** 21#********************************
7# servers 22# servers
8#******************************** 23#********************************
@@ -65,6 +80,9 @@ echo "TESTING: join (test/root/join.exp)"
65echo "TESTING: git-install (test/root/git.exp)" 80echo "TESTING: git-install (test/root/git.exp)"
66./git.exp 81./git.exp
67 82
83echo "TESTING: login-nobody (test/root/login_nobody.exp)"
84./login_nobody.exp
85
68#******************************** 86#********************************
69# seccomp 87# seccomp
70#******************************** 88#********************************
@@ -107,17 +125,6 @@ rm -f tmpfile
107echo "TESTING: firemon events (test/root/firemon-events.exp)" 125echo "TESTING: firemon events (test/root/firemon-events.exp)"
108./firemon-events.exp 126./firemon-events.exp
109 127
110#********************************
111# firecfg
112#********************************
113which less
114if [ "$?" -eq 0 ];
115then
116 echo "TESTING: firecfg (test/root/firecfg.exp)"
117 ./firecfg.exp
118else
119 echo "TESTING SKIP: firecfg, less not found"
120fi
121 128
122# restore the default config file 129# restore the default config file
123#cp ../../etc/firejail.config /etc/firejail/firejail.config 130#cp ../../etc/firejail.config /etc/firejail/firejail.config