From 80d0d452d660f2c77af94fc35d2caaea7cfd1cae Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sun, 1 Apr 2018 10:41:00 -0400 Subject: testing --- test/root/root.sh | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) (limited to 'test/root/root.sh') 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 @@ # set a new firejail config file #cp firejail.config /etc/firejail/firejail.config + +#******************************** +# firecfg +#******************************** +which less +if [ "$?" -eq 0 ]; +then + echo "TESTING: firecfg (test/root/firecfg.exp)" + rm -fr /home/netblue/.local/share/applications-store + mv /home/netblue/.local/share/applications /home/netblue/.local/share/applications-store + ./firecfg.exp + rm -fr /home/netblue/.local/share/applications + mv /home/netblue/.local/share/applications-store /home/netblue/.local/share/applications +else + echo "TESTING SKIP: firecfg, less not found" +fi + #******************************** # servers #******************************** @@ -107,17 +124,6 @@ rm -f tmpfile echo "TESTING: firemon events (test/root/firemon-events.exp)" ./firemon-events.exp -#******************************** -# firecfg -#******************************** -which less -if [ "$?" -eq 0 ]; -then - echo "TESTING: firecfg (test/root/firecfg.exp)" - ./firecfg.exp -else - echo "TESTING SKIP: firecfg, less not found" -fi # restore the default config file #cp ../../etc/firejail.config /etc/firejail/firejail.config -- cgit v1.2.3-70-g09d2