diff options
author | netblue30 <netblue30@yahoo.com> | 2018-04-04 07:41:17 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2018-04-04 07:41:17 -0400 |
commit | 23d10c8fa0bc1dface09d71cc9d6475d53c42645 (patch) | |
tree | 5a5a3b39c1a64d956e31b295990b768795780974 /test | |
parent | Merge branch 'master' of http://github.com/netblue30/firejail (diff) | |
download | firejail-23d10c8fa0bc1dface09d71cc9d6475d53c42645.tar.gz firejail-23d10c8fa0bc1dface09d71cc9d6475d53c42645.tar.zst firejail-23d10c8fa0bc1dface09d71cc9d6475d53c42645.zip |
deprecated --git-install and --git-uninstall
Diffstat (limited to 'test')
-rwxr-xr-x | test/root/git.exp | 51 | ||||
-rwxr-xr-x | test/root/root.sh | 3 |
2 files changed, 0 insertions, 54 deletions
diff --git a/test/root/git.exp b/test/root/git.exp deleted file mode 100755 index c5ddeee89..000000000 --- a/test/root/git.exp +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | |||
8 | |||
9 | send -- "firejail --version\r" | ||
10 | expect { | ||
11 | timeout {puts "TESTING ERROR 1\n";exit} | ||
12 | "git install support is disabled" { puts "TESTING: git support not available in current build\n"; exit} | ||
13 | "git install support is enabled" { puts "git support available\n"} | ||
14 | } | ||
15 | |||
16 | set timeout 120 | ||
17 | send -- "firejail --git-install\r" | ||
18 | expect { | ||
19 | timeout {puts "TESTING ERROR 2\n";exit} | ||
20 | "Cloning into" | ||
21 | } | ||
22 | expect { | ||
23 | timeout {puts "TESTING ERROR 3\n";exit} | ||
24 | "Configuration options" | ||
25 | } | ||
26 | expect { | ||
27 | timeout {puts "TESTING ERROR 4\n";exit} | ||
28 | "src/fseccomp/fseccomp default seccomp" | ||
29 | } | ||
30 | expect { | ||
31 | timeout {puts "TESTING ERROR 5\n";exit} | ||
32 | "Mainline git Firejail version was installed in" | ||
33 | } | ||
34 | after 100 | ||
35 | |||
36 | send -- "firejail --git-uninstall\r" | ||
37 | expect { | ||
38 | timeout {puts "TESTING ERROR 6\n";exit} | ||
39 | "Cloning into" | ||
40 | } | ||
41 | expect { | ||
42 | timeout {puts "TESTING ERROR 7\n";exit} | ||
43 | "Configuration options" | ||
44 | } | ||
45 | expect { | ||
46 | timeout {puts "TESTING ERROR 8\n";exit} | ||
47 | "Firejail mainline git version uninstalled from" | ||
48 | } | ||
49 | after 100 | ||
50 | |||
51 | puts "\nall done\n" | ||
diff --git a/test/root/root.sh b/test/root/root.sh index 4132bc739..4f217b727 100755 --- a/test/root/root.sh +++ b/test/root/root.sh | |||
@@ -77,9 +77,6 @@ echo "TESTING: fs whitelist mnt, opt, media (test/root/whitelist-mnt.exp)" | |||
77 | echo "TESTING: join (test/root/join.exp)" | 77 | echo "TESTING: join (test/root/join.exp)" |
78 | ./join.exp | 78 | ./join.exp |
79 | 79 | ||
80 | echo "TESTING: git-install (test/root/git.exp)" | ||
81 | ./git.exp | ||
82 | |||
83 | echo "TESTING: login-nobody (test/root/login_nobody.exp)" | 80 | echo "TESTING: login-nobody (test/root/login_nobody.exp)" |
84 | ./login_nobody.exp | 81 | ./login_nobody.exp |
85 | 82 | ||