diff options
author | 2017-03-31 11:05:05 -0400 | |
---|---|---|
committer | 2017-03-31 11:05:05 -0400 | |
commit | 0386d562f44ebf612980c7d779336e967973f9c5 (patch) | |
tree | 00f3aa219495c984b6468c5af3723220401abd8b /test/utils/firecfg-fix.exp | |
parent | restrict more KDE files (#1181) (diff) | |
download | firejail-0386d562f44ebf612980c7d779336e967973f9c5.tar.gz firejail-0386d562f44ebf612980c7d779336e967973f9c5.tar.zst firejail-0386d562f44ebf612980c7d779336e967973f9c5.zip |
testing
Diffstat (limited to 'test/utils/firecfg-fix.exp')
-rwxr-xr-x | test/utils/firecfg-fix.exp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/utils/firecfg-fix.exp b/test/utils/firecfg-fix.exp new file mode 100755 index 000000000..685ce9c7b --- /dev/null +++ b/test/utils/firecfg-fix.exp | |||
@@ -0,0 +1,25 @@ | |||
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 | |||