aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README1
-rw-r--r--README.md2
-rw-r--r--RELNOTES2
-rw-r--r--etc/arduino.profile28
-rw-r--r--etc/qtox.profile5
-rw-r--r--platform/debian/conffiles1
-rw-r--r--src/firecfg/firecfg.config1
-rwxr-xr-xtest/environment/csh.exp2
-rwxr-xr-xtest/environment/zsh.exp2
-rwxr-xr-xtest/fcopy/fcopy.sh4
-rwxr-xr-xtest/fs/mkdir_mkfile.exp10
-rwxr-xr-xtest/fs/private-home-dir.exp10
-rwxr-xr-xtest/fs/private.exp8
-rwxr-xr-xtest/fs/whitelist-double.exp4
-rwxr-xr-xtest/fs/whitelist-downloads.exp4
-rwxr-xr-xtest/fs/whitelist-empty.exp12
-rwxr-xr-xtest/network/4bridges_arp.exp12
-rwxr-xr-xtest/network/4bridges_ip.exp12
-rwxr-xr-xtest/network/interface.exp8
-rwxr-xr-xtest/network/net_defaultgw.exp3
-rwxr-xr-xtest/network/net_defaultgw2.exp6
-rwxr-xr-xtest/network/net_ip.exp3
-rwxr-xr-xtest/network/net_profile.exp6
23 files changed, 98 insertions, 48 deletions
diff --git a/README b/README
index d6258e8e4..fa7a1b651 100644
--- a/README
+++ b/README
@@ -360,6 +360,7 @@ SpotComms (https://github.com/SpotComms)
360 - lots of profile tightening 360 - lots of profile tightening
361 - added viking, youtube-dl, meld profiles 361 - added viking, youtube-dl, meld profiles
362 - more profile tightening 362 - more profile tightening
363 - added Arduino profile
363SYN-cook (https://github.com/SYN-cook) 364SYN-cook (https://github.com/SYN-cook)
364 - keepass/keepassx browser fixes 365 - keepass/keepassx browser fixes
365 - disable-common.inc fixes 366 - disable-common.inc fixes
diff --git a/README.md b/README.md
index ddc1a9639..5a0be0a7b 100644
--- a/README.md
+++ b/README.md
@@ -196,4 +196,4 @@ simple-scan, skanlite, ssh-agent, tracker, transmission-cli, transmission-show,
196xed, pluma, Cryptocat, Bless, Gnome 2048, Gnome Calculator, Gnome Contacts, JD-GUI, Lollypop, MultiMC5, 196xed, pluma, Cryptocat, Bless, Gnome 2048, Gnome Calculator, Gnome Contacts, JD-GUI, Lollypop, MultiMC5,
197PDFSam, Pithos, Xonotic, wireshark, keepassx2, QupZilla, FossaMail, Uzbl browser, xmms, iridium browser, 197PDFSam, Pithos, Xonotic, wireshark, keepassx2, QupZilla, FossaMail, Uzbl browser, xmms, iridium browser,
198Kino, Thunar, Geeqie, Engrampa, Scribus, mousepad, gpicview, keepassxc, cvlc, MediathekView, baloo_file, 198Kino, Thunar, Geeqie, Engrampa, Scribus, mousepad, gpicview, keepassxc, cvlc, MediathekView, baloo_file,
199Nylas, dino, BibleTime, viewnior, Kodi, viking, youtube-dl, meld 199Nylas, dino, BibleTime, viewnior, Kodi, viking, youtube-dl, meld, Arduino
diff --git a/RELNOTES b/RELNOTES
index 77a097506..f71859cf4 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -37,7 +37,7 @@ firejail (0.9.46-rc1) baseline; urgency=low
37 * new profiles: Uzbl browser, iridium browser, Thunar, Geeqie, Engrampa, 37 * new profiles: Uzbl browser, iridium browser, Thunar, Geeqie, Engrampa,
38 * new profiles: Scribus, mousepad, gpicview, keepassxc, cvlc, MediathekView, 38 * new profiles: Scribus, mousepad, gpicview, keepassxc, cvlc, MediathekView,
39 * new profiles: baloo_file, Nylas, dino, BibleTime, viewnior, Kodi, viking, 39 * new profiles: baloo_file, Nylas, dino, BibleTime, viewnior, Kodi, viking,
40 * new profiles: youtube-dl, meld 40 * new profiles: youtube-dl, meld, Arduino
41 * bugfixes 41 * bugfixes
42 -- netblue30 <netblue30@yahoo.com> Fri, 7 Apr 2017 08:00:00 -0500 42 -- netblue30 <netblue30@yahoo.com> Fri, 7 Apr 2017 08:00:00 -0500
43 43
diff --git a/etc/arduino.profile b/etc/arduino.profile
new file mode 100644
index 000000000..e80222bb6
--- /dev/null
+++ b/etc/arduino.profile
@@ -0,0 +1,28 @@
1# This file is overwritten during software install.
2# Persistent customizations should go in a .local file.
3include /etc/firejail/arduino.local
4
5# Firejail profile for arduino
6noblacklist ${HOME}/.arduino15
7noblacklist ${HOME}/Arduino
8
9include /etc/firejail/disable-common.inc
10include /etc/firejail/disable-programs.inc
11include /etc/firejail/disable-passwdmgr.inc
12include /etc/firejail/disable-devel.inc
13
14caps.drop all
15netfilter
16no3d
17nogroups
18nonewprivs
19noroot
20nosound
21protocol unix,inet,inet6
22seccomp
23shell none
24
25private-tmp
26
27noexec ${HOME}
28noexec /tmp
diff --git a/etc/qtox.profile b/etc/qtox.profile
index 40a959d05..f3158b206 100644
--- a/etc/qtox.profile
+++ b/etc/qtox.profile
@@ -3,7 +3,8 @@
3include /etc/firejail/qtox.local 3include /etc/firejail/qtox.local
4 4
5# qTox instant messaging profile 5# qTox instant messaging profile
6noblacklist ${HOME}/.config/tox 6noblacklist ~/.config/tox
7noblacklist ~/.config/qt5ct
7include /etc/firejail/disable-common.inc 8include /etc/firejail/disable-common.inc
8include /etc/firejail/disable-programs.inc 9include /etc/firejail/disable-programs.inc
9include /etc/firejail/disable-devel.inc 10include /etc/firejail/disable-devel.inc
@@ -11,6 +12,8 @@ include /etc/firejail/disable-passwdmgr.inc
11 12
12mkdir ${HOME}/.config/tox 13mkdir ${HOME}/.config/tox
13whitelist ${HOME}/.config/tox 14whitelist ${HOME}/.config/tox
15mkdir ${HOME}/.config/qt5ct
16whitelist ${HOME}/.config/qt5ct
14whitelist ${DOWNLOADS} 17whitelist ${DOWNLOADS}
15 18
16caps.drop all 19caps.drop all
diff --git a/platform/debian/conffiles b/platform/debian/conffiles
index 0f1f14bf5..011f52657 100644
--- a/platform/debian/conffiles
+++ b/platform/debian/conffiles
@@ -6,6 +6,7 @@
6/etc/firejail/Wire.profile 6/etc/firejail/Wire.profile
7/etc/firejail/abrowser.profile 7/etc/firejail/abrowser.profile
8/etc/firejail/amarok.profile 8/etc/firejail/amarok.profile
9/etc/firejail/arduino.profile
9/etc/firejail/ark.profile 10/etc/firejail/ark.profile
10/etc/firejail/atom-beta.profile 11/etc/firejail/atom-beta.profile
11/etc/firejail/atom.profile 12/etc/firejail/atom.profile
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index a01c809fb..62490b1ec 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -208,6 +208,7 @@ flowblade
208eog 208eog
209 209
210# other 210# other
211arduino
211atom 212atom
212atom-beta 213atom-beta
213baloo_file 214baloo_file
diff --git a/test/environment/csh.exp b/test/environment/csh.exp
index bd0cf8c86..89de94b3c 100755
--- a/test/environment/csh.exp
+++ b/test/environment/csh.exp
@@ -14,7 +14,7 @@ expect {
14} 14}
15sleep 1 15sleep 1
16 16
17send -- "find /home\r" 17send -- "find ~\r"
18expect { 18expect {
19 timeout {puts "TESTING ERROR 1\n";exit} 19 timeout {puts "TESTING ERROR 1\n";exit}
20 ".cshrc" 20 ".cshrc"
diff --git a/test/environment/zsh.exp b/test/environment/zsh.exp
index 4380f476c..1b6cdcdc5 100755
--- a/test/environment/zsh.exp
+++ b/test/environment/zsh.exp
@@ -14,7 +14,7 @@ expect {
14} 14}
15sleep 1 15sleep 1
16 16
17send -- "find /home\r" 17send -- "find ~\r"
18expect { 18expect {
19 timeout {puts "TESTING ERROR 1\n";exit} 19 timeout {puts "TESTING ERROR 1\n";exit}
20 ".zshrc" 20 ".zshrc"
diff --git a/test/fcopy/fcopy.sh b/test/fcopy/fcopy.sh
index d122eff5d..362ed66e0 100755
--- a/test/fcopy/fcopy.sh
+++ b/test/fcopy/fcopy.sh
@@ -9,10 +9,10 @@ export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
9if [ -f /etc/debian_version ]; then 9if [ -f /etc/debian_version ]; then
10 libdir=$(dirname "$(dpkg -L firejail | grep fcopy)") 10 libdir=$(dirname "$(dpkg -L firejail | grep fcopy)")
11 export PATH="$PATH:$libdir" 11 export PATH="$PATH:$libdir"
12else
13 export PATH="$PATH:/usr/lib/firejail"
14fi 12fi
15 13
14export PATH="$PATH:/usr/lib/firejail"
15
16mkdir dest 16mkdir dest
17 17
18echo "TESTING: fcopy cmdline (test/fcopy/cmdline.exp)" 18echo "TESTING: fcopy cmdline (test/fcopy/cmdline.exp)"
diff --git a/test/fs/mkdir_mkfile.exp b/test/fs/mkdir_mkfile.exp
index 28a5ae459..1faa913e0 100755
--- a/test/fs/mkdir_mkfile.exp
+++ b/test/fs/mkdir_mkfile.exp
@@ -16,11 +16,7 @@ expect {
16} 16}
17sleep 1 17sleep 1
18 18
19send -- "find ~\r" 19send -- "find ~ | LC_ALL=C sort\r"
20expect {
21 timeout {puts "TESTING ERROR 1\n";exit}
22 "_firejail_test_file"
23}
24expect { 20expect {
25 timeout {puts "TESTING ERROR 1\n";exit} 21 timeout {puts "TESTING ERROR 1\n";exit}
26 "_firejail_test_dir" 22 "_firejail_test_dir"
@@ -41,6 +37,10 @@ expect {
41 timeout {puts "TESTING ERROR 1\n";exit} 37 timeout {puts "TESTING ERROR 1\n";exit}
42 "_firejail_test_dir/dir1/dir2/dir3/file1" 38 "_firejail_test_dir/dir1/dir2/dir3/file1"
43} 39}
40expect {
41 timeout {puts "TESTING ERROR 1\n";exit}
42 "_firejail_test_file"
43}
44after 100 44after 100
45send -- "exit\r" 45send -- "exit\r"
46after 100 46after 100
diff --git a/test/fs/private-home-dir.exp b/test/fs/private-home-dir.exp
index 77baeeb5f..9c97ff4ea 100755
--- a/test/fs/private-home-dir.exp
+++ b/test/fs/private-home-dir.exp
@@ -41,7 +41,11 @@ expect {
41} 41}
42after 100 42after 100
43 43
44send -- "ls -al ~\r" 44send -- "find ~ | LC_ALL=C sort\r"
45expect {
46 timeout {puts "TESTING ERROR 4\n";exit}
47 ".Xauthority"
48}
45expect { 49expect {
46 timeout {puts "TESTING ERROR 2\n";exit} 50 timeout {puts "TESTING ERROR 2\n";exit}
47 ".asoundrc" 51 ".asoundrc"
@@ -50,10 +54,6 @@ expect {
50 timeout {puts "TESTING ERROR 3\n";exit} 54 timeout {puts "TESTING ERROR 3\n";exit}
51 ".bashrc" 55 ".bashrc"
52} 56}
53expect {
54 timeout {puts "TESTING ERROR 4\n";exit}
55 ".Xauthority"
56}
57after 100 57after 100
58 58
59send -- "exit\r" 59send -- "exit\r"
diff --git a/test/fs/private.exp b/test/fs/private.exp
index c7059079d..e522ca5a1 100755
--- a/test/fs/private.exp
+++ b/test/fs/private.exp
@@ -37,18 +37,18 @@ expect {
37} 37}
38after 100 38after 100
39 39
40send -- "ls -al ~\r" 40send -- "find ~ | LC_ALL=C sort\r"
41expect { 41expect {
42 timeout {puts "TESTING ERROR 2\n";exit} 42 timeout {puts "TESTING ERROR 2\n";exit}
43 ".asoundrc" 43 ".Xauthority"
44} 44}
45expect { 45expect {
46 timeout {puts "TESTING ERROR 3\n";exit} 46 timeout {puts "TESTING ERROR 3\n";exit}
47 ".bashrc" 47 ".asoundrc"
48} 48}
49expect { 49expect {
50 timeout {puts "TESTING ERROR 4\n";exit} 50 timeout {puts "TESTING ERROR 4\n";exit}
51 ".Xauthority" 51 ".bashrc"
52} 52}
53after 100 53after 100
54 54
diff --git a/test/fs/whitelist-double.exp b/test/fs/whitelist-double.exp
index dd2336ce1..ac6adc165 100755
--- a/test/fs/whitelist-double.exp
+++ b/test/fs/whitelist-double.exp
@@ -32,10 +32,10 @@ expect {
32 "123" 32 "123"
33} 33}
34 34
35send -- "rm /tmp/firejal-deleteme\r" 35send -- "rm -v /tmp/firejal-deleteme\r"
36expect { 36expect {
37 timeout {puts "TESTING ERROR 3\n";exit} 37 timeout {puts "TESTING ERROR 3\n";exit}
38 "0" 38 "removed"
39} 39}
40after 100 40after 100
41 41
diff --git a/test/fs/whitelist-downloads.exp b/test/fs/whitelist-downloads.exp
index f3eb0d6a2..a64197953 100755
--- a/test/fs/whitelist-downloads.exp
+++ b/test/fs/whitelist-downloads.exp
@@ -17,7 +17,7 @@ expect {
17} 17}
18after 100 18after 100
19 19
20send -- "firejail --force --profile=/etc/firejail/firefox.profile\r" 20send -- "firejail --force --ignore=shell --profile=/etc/firejail/firefox.profile\r"
21expect { 21expect {
22 timeout {puts "TESTING ERROR 1\n";exit} 22 timeout {puts "TESTING ERROR 1\n";exit}
23 "cannot whitelist Downloads directory" 23 "cannot whitelist Downloads directory"
@@ -34,7 +34,7 @@ after 100
34send -- "cp /tmp/user-dirs.dirs ~/.config/.\r" 34send -- "cp /tmp/user-dirs.dirs ~/.config/.\r"
35after 100 35after 100
36 36
37send -- "firejail --force --profile=/etc/firejail/firefox.profile\r" 37send -- "firejail --force --ignore=shell --profile=/etc/firejail/firefox.profile\r"
38expect { 38expect {
39 timeout {puts "TESTING ERROR 3\n";exit} 39 timeout {puts "TESTING ERROR 3\n";exit}
40 "cannot whitelist Downloads directory" 40 "cannot whitelist Downloads directory"
diff --git a/test/fs/whitelist-empty.exp b/test/fs/whitelist-empty.exp
index e1c3ffb4a..9e4406263 100755
--- a/test/fs/whitelist-empty.exp
+++ b/test/fs/whitelist-empty.exp
@@ -14,36 +14,36 @@ expect {
14} 14}
15sleep 1 15sleep 1
16 16
17send -- "ls -l ~/ | wc -l\r" 17send -- "ls -l ~\r"
18expect { 18expect {
19 timeout {puts "TESTING ERROR 1\n";exit} 19 timeout {puts "TESTING ERROR 1\n";exit}
20 "0" 20 "0"
21} 21}
22 22
23send -- "ls -l /tmp | wc -l\r" 23send -- "ls -l /tmp\r"
24expect { 24expect {
25 timeout {puts "TESTING ERROR 2\n";exit} 25 timeout {puts "TESTING ERROR 2\n";exit}
26 "0" 26 "0"
27} 27}
28 28
29send -- "ls -l /media | wc -l\r" 29send -- "ls -l /media\r"
30expect { 30expect {
31 timeout {puts "TESTING ERROR 3\n";exit} 31 timeout {puts "TESTING ERROR 3\n";exit}
32 "0" 32 "0"
33} 33}
34 34
35send -- "ls -l /var | wc -l\r" 35send -- "ls -l /var\r"
36expect { 36expect {
37 timeout {puts "TESTING ERROR 4\n";exit} 37 timeout {puts "TESTING ERROR 4\n";exit}
38 "0" 38 "0"
39} 39}
40 40
41send -- "ls -l /dev | wc -l\r" 41send -- "ls -l /dev\r"
42expect { 42expect {
43 timeout {puts "TESTING ERROR 5\n";exit} 43 timeout {puts "TESTING ERROR 5\n";exit}
44 "0" 44 "0"
45} 45}
46send -- "ls -l /opt | wc -l\r" 46send -- "ls -l /opt\r"
47expect { 47expect {
48 timeout {puts "TESTING ERROR 6\n";exit} 48 timeout {puts "TESTING ERROR 6\n";exit}
49 "0" 49 "0"
diff --git a/test/network/4bridges_arp.exp b/test/network/4bridges_arp.exp
index 80760eb3a..e84ec719c 100755
--- a/test/network/4bridges_arp.exp
+++ b/test/network/4bridges_arp.exp
@@ -150,22 +150,26 @@ expect {
150send -- "ip route show\r" 150send -- "ip route show\r"
151expect { 151expect {
152 timeout {puts "TESTING ERROR 10.2\n";exit} 152 timeout {puts "TESTING ERROR 10.2\n";exit}
153 "10.10.20.0/29 dev eth0 proto kernel scope link" 153 "10.10.20.0/29 dev eth0 proto kernel scope link" {puts "old iproute2\n";}
154 "10.10.20.0/29 dev eth0 proto kernel scope link" {puts "new iproute2\n";}
154} 155}
155send -- "ip route show\r" 156send -- "ip route show\r"
156expect { 157expect {
157 timeout {puts "TESTING ERROR 10.2\n";exit} 158 timeout {puts "TESTING ERROR 10.2\n";exit}
158 "10.10.30.0/24 dev eth1 proto kernel scope link" 159 "10.10.30.0/24 dev eth1 proto kernel scope link" {puts "old iproute2\n";}
160 "10.10.30.0/24 dev eth1 proto kernel scope link" {puts "new iproute2\n";}
159} 161}
160send -- "ip route show\r" 162send -- "ip route show\r"
161expect { 163expect {
162 timeout {puts "TESTING ERROR 10.2\n";exit} 164 timeout {puts "TESTING ERROR 10.2\n";exit}
163 "10.10.40.0/24 dev eth2 proto kernel scope link" 165 "10.10.40.0/24 dev eth2 proto kernel scope link" {puts "old iproute2\n";}
166 "10.10.40.0/24 dev eth2 proto kernel scope link" {puts "new iproute2\n";}
164} 167}
165send -- "ip route show\r" 168send -- "ip route show\r"
166expect { 169expect {
167 timeout {puts "TESTING ERROR 10.2\n";exit} 170 timeout {puts "TESTING ERROR 10.2\n";exit}
168 "10.10.50.0/24 dev eth3 proto kernel scope link" 171 "10.10.50.0/24 dev eth3 proto kernel scope link" {puts "old iproute2\n";}
172 "10.10.50.0/24 dev eth3 proto kernel scope link" {puts "new iproute2\n";}
169} 173}
170send -- "exit\r" 174send -- "exit\r"
171after 100 175after 100
diff --git a/test/network/4bridges_ip.exp b/test/network/4bridges_ip.exp
index 5e136926b..74a1e5d68 100755
--- a/test/network/4bridges_ip.exp
+++ b/test/network/4bridges_ip.exp
@@ -150,25 +150,29 @@ expect {
150send -- "ip route show\r" 150send -- "ip route show\r"
151expect { 151expect {
152 timeout {puts "TESTING ERROR 10.2\n";exit} 152 timeout {puts "TESTING ERROR 10.2\n";exit}
153 "10.10.20.0/29 dev eth0 proto kernel scope link" 153 "10.10.20.0/29 dev eth0 proto kernel scope link" {puts "old iproute2\n";}
154 "10.10.20.0/29 dev eth0 proto kernel scope link" {puts "new iproute2\n";}
154} 155}
155 156
156send -- "ip route show\r" 157send -- "ip route show\r"
157expect { 158expect {
158 timeout {puts "TESTING ERROR 10.3\n";exit} 159 timeout {puts "TESTING ERROR 10.3\n";exit}
159 "10.10.30.0/24 dev eth1 proto kernel scope link src 10.10.30.50" 160 "10.10.30.0/24 dev eth1 proto kernel scope link src 10.10.30.50" {puts "old iproute2\n";}
161 "10.10.30.0/24 dev eth1 proto kernel scope link src 10.10.30.50" {puts "new iproute2\n";}
160} 162}
161 163
162send -- "ip route show\r" 164send -- "ip route show\r"
163expect { 165expect {
164 timeout {puts "TESTING ERROR 10.4\n";exit} 166 timeout {puts "TESTING ERROR 10.4\n";exit}
165 "10.10.40.0/24 dev eth2 proto kernel scope link src 10.10.40.100" 167 "10.10.40.0/24 dev eth2 proto kernel scope link src 10.10.40.100" {puts "old iproute2\n";}
168 "10.10.40.0/24 dev eth2 proto kernel scope link src 10.10.40.100" {puts "new iproute2\n";}
166} 169}
167 170
168send -- "ip route show\r" 171send -- "ip route show\r"
169expect { 172expect {
170 timeout {puts "TESTING ERROR 10.5\n";exit} 173 timeout {puts "TESTING ERROR 10.5\n";exit}
171 "10.10.50.0/24 dev eth3 proto kernel scope link" 174 "10.10.50.0/24 dev eth3 proto kernel scope link" {puts "old iproute2\n";}
175 "10.10.50.0/24 dev eth3 proto kernel scope link" {puts "new iproute2\n";}
172} 176}
173 177
174send -- "exit\r" 178send -- "exit\r"
diff --git a/test/network/interface.exp b/test/network/interface.exp
index bd8777c33..638e6d32b 100755
--- a/test/network/interface.exp
+++ b/test/network/interface.exp
@@ -27,8 +27,9 @@ expect {
27 "eth0.5" 27 "eth0.5"
28} 28}
29expect { 29expect {
30 timeout {puts "TESTING ERROR 2n";exit} 30 timeout {puts "TESTING ERROR 2\n";exit}
31 "Link" 31 "Link" {puts "old net-tools\n";}
32 "flags" {puts "new net-tools\n";}
32} 33}
33expect { 34expect {
34 timeout {puts "TESTING ERROR 3\n";exit} 35 timeout {puts "TESTING ERROR 3\n";exit}
@@ -47,7 +48,8 @@ expect {
47} 48}
48expect { 49expect {
49 timeout {puts "TESTING ERROR 6\n";exit} 50 timeout {puts "TESTING ERROR 6\n";exit}
50 "Link" 51 "Link" {puts "old net-tools\n";}
52 "flags" {puts "new net-tools\n";}
51} 53}
52expect { 54expect {
53 timeout {puts "TESTING ERROR 7\n";exit} 55 timeout {puts "TESTING ERROR 7\n";exit}
diff --git a/test/network/net_defaultgw.exp b/test/network/net_defaultgw.exp
index c7178616a..763eee38e 100755
--- a/test/network/net_defaultgw.exp
+++ b/test/network/net_defaultgw.exp
@@ -41,7 +41,8 @@ expect {
41send -- "ip route show\r" 41send -- "ip route show\r"
42expect { 42expect {
43 timeout {puts "TESTING ERROR 10.2\n";exit} 43 timeout {puts "TESTING ERROR 10.2\n";exit}
44 "10.10.20.0/29 dev eth0 proto kernel scope link" 44 "10.10.20.0/29 dev eth0 proto kernel scope link" {puts "old iproute2\n";}
45 "10.10.20.0/29 dev eth0 proto kernel scope link" {puts "new iproute2\n";}
45} 46}
46send -- "exit\r" 47send -- "exit\r"
47after 100 48after 100
diff --git a/test/network/net_defaultgw2.exp b/test/network/net_defaultgw2.exp
index 088dfeee8..e7483c921 100755
--- a/test/network/net_defaultgw2.exp
+++ b/test/network/net_defaultgw2.exp
@@ -29,13 +29,15 @@ expect {
29send -- "ip route show\r" 29send -- "ip route show\r"
30expect { 30expect {
31 timeout {puts "TESTING ERROR 10.2\n";exit} 31 timeout {puts "TESTING ERROR 10.2\n";exit}
32 "10.10.20.0/29 dev eth0 proto kernel scope link" 32 "10.10.20.0/29 dev eth0 proto kernel scope link" {puts "old iproute2\n";}
33 "10.10.20.0/29 dev eth0 proto kernel scope link" {puts "new iproute2\n";}
33} 34}
34 35
35send -- "ip route show\r" 36send -- "ip route show\r"
36expect { 37expect {
37 timeout {puts "TESTING ERROR 10.3\n";exit} 38 timeout {puts "TESTING ERROR 10.3\n";exit}
38 "10.10.30.0/24 dev eth1 proto kernel scope link" 39 "10.10.30.0/24 dev eth1 proto kernel scope link" {puts "old iproute2\n";}
40 "10.10.30.0/24 dev eth1 proto kernel scope link" {puts "new iproute2\n";}
39} 41}
40send -- "exit\r" 42send -- "exit\r"
41after 100 43after 100
diff --git a/test/network/net_ip.exp b/test/network/net_ip.exp
index c6b84781c..8ec676dd1 100755
--- a/test/network/net_ip.exp
+++ b/test/network/net_ip.exp
@@ -67,7 +67,8 @@ expect {
67send -- "ip route show\r" 67send -- "ip route show\r"
68expect { 68expect {
69 timeout {puts "TESTING ERROR 10\n";exit} 69 timeout {puts "TESTING ERROR 10\n";exit}
70 "10.10.20.0/29 dev eth0 proto kernel scope link" 70 "10.10.20.0/29 dev eth0 proto kernel scope link" {puts "old iproute2\n";}
71 "10.10.20.0/29 dev eth0 proto kernel scope link" {puts "new iproute2\n";}
71} 72}
72send -- "exit\r" 73send -- "exit\r"
73after 100 74after 100
diff --git a/test/network/net_profile.exp b/test/network/net_profile.exp
index febbcfcd7..b3bc9b441 100755
--- a/test/network/net_profile.exp
+++ b/test/network/net_profile.exp
@@ -38,13 +38,15 @@ sleep 1
38send -- "ip route show\r" 38send -- "ip route show\r"
39expect { 39expect {
40 timeout {puts "TESTING ERROR 1\n";exit} 40 timeout {puts "TESTING ERROR 1\n";exit}
41 "10.10.30.0/24 dev eth1 proto kernel scope link src 10.10.30.50" 41 "10.10.30.0/24 dev eth1 proto kernel scope link src 10.10.30.50" {puts "old iproute2\n";}
42 "10.10.30.0/24 dev eth1 proto kernel scope link src 10.10.30.50" {puts "new iproute2\n";}
42} 43}
43 44
44send -- "ip route show\r" 45send -- "ip route show\r"
45expect { 46expect {
46 timeout {puts "TESTING ERROR 2\n";exit} 47 timeout {puts "TESTING ERROR 2\n";exit}
47 "10.10.40.0/24 dev eth2 proto kernel scope link src 10.10.40.100" 48 "10.10.40.0/24 dev eth2 proto kernel scope link src 10.10.40.100" {puts "old iproute2\n";}
49 "10.10.40.0/24 dev eth2 proto kernel scope link src 10.10.40.100" {puts "new iproute2\n";}
48} 50}
49 51
50 52