summaryrefslogtreecommitdiffstats
path: root/test/features/3.2.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-12-23 12:38:13 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2015-12-23 12:38:13 -0500
commit686bc51e38b0718651e82818871b0bf1451c8b21 (patch)
tree521f5fc2123c4782493fc86b46cc41533acb85db /test/features/3.2.exp
parent0.9.36 testing (diff)
downloadfirejail-686bc51e38b0718651e82818871b0bf1451c8b21.tar.gz
firejail-686bc51e38b0718651e82818871b0bf1451c8b21.tar.zst
firejail-686bc51e38b0718651e82818871b0bf1451c8b21.zip
0.9.36 testing
Diffstat (limited to 'test/features/3.2.exp')
-rwxr-xr-xtest/features/3.2.exp31
1 files changed, 17 insertions, 14 deletions
diff --git a/test/features/3.2.exp b/test/features/3.2.exp
index 44d9b73f3..49d8d27c1 100755
--- a/test/features/3.2.exp
+++ b/test/features/3.2.exp
@@ -6,6 +6,7 @@
6set timeout 10 6set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9set overlay [lindex $argv 0]
9 10
10# 11#
11# N 12# N
@@ -31,21 +32,23 @@ sleep 1
31# 32#
32# O 33# O
33# 34#
34send -- "firejail --noprofile --overlay --read-only=/home/netblue/.config\r" 35if { $overlay == "overlay" } {
35expect { 36 send -- "firejail --noprofile --overlay --read-only=/home/netblue/.config\r"
36 timeout {puts "TESTING ERROR 2\n";exit} 37 expect {
37 "Child process initialized" 38 timeout {puts "TESTING ERROR 2\n";exit}
39 "Child process initialized"
40 }
41 sleep 1
42
43 send -- "touch ~/.config/firejail-test-file\r"
44 expect {
45 timeout {puts "TESTING ERROR 3\n";exit}
46 "Read-only file system"
47 }
48 after 100
49 send -- "exit\r"
50 sleep 1
38} 51}
39sleep 1
40
41send -- "touch ~/.config/firejail-test-file\r"
42expect {
43 timeout {puts "TESTING ERROR 3\n";exit}
44 "Read-only file system"
45}
46after 100
47send -- "exit\r"
48sleep 1
49 52
50# 53#
51# C 54# C