aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2018-04-04 07:41:17 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2018-04-04 07:41:17 -0400
commit23d10c8fa0bc1dface09d71cc9d6475d53c42645 (patch)
tree5a5a3b39c1a64d956e31b295990b768795780974 /test
parentMerge branch 'master' of http://github.com/netblue30/firejail (diff)
downloadfirejail-23d10c8fa0bc1dface09d71cc9d6475d53c42645.tar.gz
firejail-23d10c8fa0bc1dface09d71cc9d6475d53c42645.tar.zst
firejail-23d10c8fa0bc1dface09d71cc9d6475d53c42645.zip
deprecated --git-install and --git-uninstall
Diffstat (limited to 'test')
-rwxr-xr-xtest/root/git.exp51
-rwxr-xr-xtest/root/root.sh3
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
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7
8
9send -- "firejail --version\r"
10expect {
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
16set timeout 120
17send -- "firejail --git-install\r"
18expect {
19 timeout {puts "TESTING ERROR 2\n";exit}
20 "Cloning into"
21}
22expect {
23 timeout {puts "TESTING ERROR 3\n";exit}
24 "Configuration options"
25}
26expect {
27 timeout {puts "TESTING ERROR 4\n";exit}
28 "src/fseccomp/fseccomp default seccomp"
29}
30expect {
31 timeout {puts "TESTING ERROR 5\n";exit}
32 "Mainline git Firejail version was installed in"
33}
34after 100
35
36send -- "firejail --git-uninstall\r"
37expect {
38 timeout {puts "TESTING ERROR 6\n";exit}
39 "Cloning into"
40}
41expect {
42 timeout {puts "TESTING ERROR 7\n";exit}
43 "Configuration options"
44}
45expect {
46 timeout {puts "TESTING ERROR 8\n";exit}
47 "Firejail mainline git version uninstalled from"
48}
49after 100
50
51puts "\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)"
77echo "TESTING: join (test/root/join.exp)" 77echo "TESTING: join (test/root/join.exp)"
78./join.exp 78./join.exp
79 79
80echo "TESTING: git-install (test/root/git.exp)"
81./git.exp
82
83echo "TESTING: login-nobody (test/root/login_nobody.exp)" 80echo "TESTING: login-nobody (test/root/login_nobody.exp)"
84./login_nobody.exp 81./login_nobody.exp
85 82