aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-05-13 08:43:20 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-05-13 08:43:20 -0400
commit6bc1496bb54d84be3ad89c4bbedb1d3c7439b52e (patch)
treed6cd58396e2486a1a95c30ebafdfef2894c75fa7 /test/utils
parent--protocol fix (diff)
downloadfirejail-6bc1496bb54d84be3ad89c4bbedb1d3c7439b52e.tar.gz
firejail-6bc1496bb54d84be3ad89c4bbedb1d3c7439b52e.tar.zst
firejail-6bc1496bb54d84be3ad89c4bbedb1d3c7439b52e.zip
0.9.46 testing
Diffstat (limited to 'test/utils')
-rwxr-xr-xtest/utils/firecfg-fix.exp25
-rwxr-xr-xtest/utils/utils.sh5
2 files changed, 0 insertions, 30 deletions
diff --git a/test/utils/firecfg-fix.exp b/test/utils/firecfg-fix.exp
deleted file mode 100755
index 685ce9c7b..000000000
--- a/test/utils/firecfg-fix.exp
+++ /dev/null
@@ -1,25 +0,0 @@
1#!/usr/bin/expect -f
2# This file is part of Firejail project
3# Copyright (C) 2014-2017 Firejail Authors
4# License GPL v2
5
6set timeout 10
7spawn $env(SHELL)
8match_max 100000
9
10send -- "firecfg --fix\r"
11expect {
12 timeout {puts "TESTING ERROR 0\n";exit}
13 "created"
14}
15sleep 1
16
17send -- "firecfg --fix\r"
18expect {
19 timeout {puts "TESTING ERROR 1\n";exit}
20 "skipped"
21}
22sleep 1
23
24puts "\nall done\n"
25
diff --git a/test/utils/utils.sh b/test/utils/utils.sh
index d5ee5ef32..751f1f8e7 100755
--- a/test/utils/utils.sh
+++ b/test/utils/utils.sh
@@ -112,8 +112,3 @@ echo "TESTING: firemon interface (test/utils/firemon-interface.exp)"
112echo "TESTING: firemon name (test/utils/firemon-name.exp)" 112echo "TESTING: firemon name (test/utils/firemon-name.exp)"
113./firemon-name.exp 113./firemon-name.exp
114 114
115echo "TESTING: firecfg --fix (test/utils/firecfg-fix.exp)"
116mv ~/.local/share/applications ~/firejail-test-local-apps
117./firecfg-fix.exp
118rm -fr ~/.local/share/applications
119mv ~/firejail-test-local-apps ~/.local/share/applications