aboutsummaryrefslogtreecommitdiffstats
path: root/test/apps-x11
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2017-03-25 12:44:45 +0100
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2017-03-25 12:44:45 +0100
commit118afb4479662881160b96b0cdfa2f07825ae910 (patch)
tree785d9e7b845df26e80f07b3e13efb274360df88e /test/apps-x11
parenttesting (diff)
downloadfirejail-118afb4479662881160b96b0cdfa2f07825ae910.tar.gz
firejail-118afb4479662881160b96b0cdfa2f07825ae910.tar.zst
firejail-118afb4479662881160b96b0cdfa2f07825ae910.zip
Use thunderbird instead of icedove for testing
Thunderbird is back in Debian, and Icedove is gone. Tests will then also run in more distributions.
Diffstat (limited to 'test/apps-x11')
-rwxr-xr-xtest/apps-x11/apps-x11.sh8
-rwxr-xr-xtest/apps-x11/thunderbird.exp (renamed from test/apps-x11/icedove.exp)8
2 files changed, 8 insertions, 8 deletions
diff --git a/test/apps-x11/apps-x11.sh b/test/apps-x11/apps-x11.sh
index 739a94f2e..965f1a56b 100755
--- a/test/apps-x11/apps-x11.sh
+++ b/test/apps-x11/apps-x11.sh
@@ -77,12 +77,12 @@ else
77 echo "TESTING SKIP: transmission-gtk not found" 77 echo "TESTING SKIP: transmission-gtk not found"
78fi 78fi
79 79
80which icedove 80which thunderbird
81if [ "$?" -eq 0 ]; 81if [ "$?" -eq 0 ];
82then 82then
83 echo "TESTING: icedove x11" 83 echo "TESTING: thunderbird x11"
84 ./icedove.exp 84 ./thunderbird.exp
85else 85else
86 echo "TESTING SKIP: icedove not found" 86 echo "TESTING SKIP: thunderbird not found"
87fi 87fi
88 88
diff --git a/test/apps-x11/icedove.exp b/test/apps-x11/thunderbird.exp
index f81d814a7..060b5a760 100755
--- a/test/apps-x11/icedove.exp
+++ b/test/apps-x11/thunderbird.exp
@@ -7,7 +7,7 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "firejail --name=test --x11 icedove\r" 10send -- "firejail --name=test --x11 thunderbird\r"
11sleep 10 11sleep 10
12 12
13spawn $env(SHELL) 13spawn $env(SHELL)
@@ -18,7 +18,7 @@ expect {
18} 18}
19expect { 19expect {
20 timeout {puts "TESTING ERROR 3.1\n";exit} 20 timeout {puts "TESTING ERROR 3.1\n";exit}
21 "icedove" 21 "thunderbird"
22} 22}
23sleep 1 23sleep 1
24 24
@@ -46,7 +46,7 @@ expect {
46} 46}
47expect { 47expect {
48 timeout {puts "TESTING ERROR 5.0\n";exit} 48 timeout {puts "TESTING ERROR 5.0\n";exit}
49 "icedove" 49 "thunderbird"
50} 50}
51expect { 51expect {
52 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit} 52 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit}
@@ -64,7 +64,7 @@ expect {
64} 64}
65expect { 65expect {
66 timeout {puts "TESTING ERROR 6.0\n";exit} 66 timeout {puts "TESTING ERROR 6.0\n";exit}
67 "icedove" 67 "thunderbird"
68} 68}
69expect { 69expect {
70 timeout {puts "TESTING ERROR 6.1\n";exit} 70 timeout {puts "TESTING ERROR 6.1\n";exit}