diff options
author | netblue30 <netblue30@yahoo.com> | 2017-05-13 08:43:20 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-05-13 08:43:20 -0400 |
commit | 6bc1496bb54d84be3ad89c4bbedb1d3c7439b52e (patch) | |
tree | d6cd58396e2486a1a95c30ebafdfef2894c75fa7 /test/utils | |
parent | --protocol fix (diff) | |
download | firejail-6bc1496bb54d84be3ad89c4bbedb1d3c7439b52e.tar.gz firejail-6bc1496bb54d84be3ad89c4bbedb1d3c7439b52e.tar.zst firejail-6bc1496bb54d84be3ad89c4bbedb1d3c7439b52e.zip |
0.9.46 testing
Diffstat (limited to 'test/utils')
-rwxr-xr-x | test/utils/firecfg-fix.exp | 25 | ||||
-rwxr-xr-x | test/utils/utils.sh | 5 |
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 | |||
6 | set timeout 10 | ||
7 | spawn $env(SHELL) | ||
8 | match_max 100000 | ||
9 | |||
10 | send -- "firecfg --fix\r" | ||
11 | expect { | ||
12 | timeout {puts "TESTING ERROR 0\n";exit} | ||
13 | "created" | ||
14 | } | ||
15 | sleep 1 | ||
16 | |||
17 | send -- "firecfg --fix\r" | ||
18 | expect { | ||
19 | timeout {puts "TESTING ERROR 1\n";exit} | ||
20 | "skipped" | ||
21 | } | ||
22 | sleep 1 | ||
23 | |||
24 | puts "\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)" | |||
112 | echo "TESTING: firemon name (test/utils/firemon-name.exp)" | 112 | echo "TESTING: firemon name (test/utils/firemon-name.exp)" |
113 | ./firemon-name.exp | 113 | ./firemon-name.exp |
114 | 114 | ||
115 | echo "TESTING: firecfg --fix (test/utils/firecfg-fix.exp)" | ||
116 | mv ~/.local/share/applications ~/firejail-test-local-apps | ||
117 | ./firecfg-fix.exp | ||
118 | rm -fr ~/.local/share/applications | ||
119 | mv ~/firejail-test-local-apps ~/.local/share/applications | ||