aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs/macro.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/fs/macro.exp')
-rwxr-xr-xtest/fs/macro.exp26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/fs/macro.exp b/test/fs/macro.exp
index 1d32a9cd0..c01123f41 100755
--- a/test/fs/macro.exp
+++ b/test/fs/macro.exp
@@ -11,7 +11,7 @@ match_max 100000
11send -- "firejail --profile=macro-whitelist.profile ls ~\r" 11send -- "firejail --profile=macro-whitelist.profile ls ~\r"
12expect { 12expect {
13 timeout {puts "TESTING ERROR 0\n";exit} 13 timeout {puts "TESTING ERROR 0\n";exit}
14 "Child process initialized" 14 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
15} 15}
16expect { 16expect {
17 timeout {puts "TESTING ERROR 1\n";exit} 17 timeout {puts "TESTING ERROR 1\n";exit}
@@ -42,7 +42,7 @@ sleep 1
42send -- "firejail --profile=macro-blacklist.profile ls ~/Desktop\r" 42send -- "firejail --profile=macro-blacklist.profile ls ~/Desktop\r"
43expect { 43expect {
44 timeout {puts "TESTING ERROR 7\n";exit} 44 timeout {puts "TESTING ERROR 7\n";exit}
45 "Child process initialized" 45 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
46} 46}
47expect { 47expect {
48 timeout {puts "TESTING ERROR 8\n";exit} 48 timeout {puts "TESTING ERROR 8\n";exit}
@@ -53,7 +53,7 @@ sleep 1
53send -- "firejail --profile=macro-blacklist.profile ls ~/Documents\r" 53send -- "firejail --profile=macro-blacklist.profile ls ~/Documents\r"
54expect { 54expect {
55 timeout {puts "TESTING ERROR 9n";exit} 55 timeout {puts "TESTING ERROR 9n";exit}
56 "Child process initialized" 56 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
57} 57}
58expect { 58expect {
59 timeout {puts "TESTING ERROR 10\n";exit} 59 timeout {puts "TESTING ERROR 10\n";exit}
@@ -64,7 +64,7 @@ sleep 1
64send -- "firejail --profile=macro-blacklist.profile ls ~/Downloads\r" 64send -- "firejail --profile=macro-blacklist.profile ls ~/Downloads\r"
65expect { 65expect {
66 timeout {puts "TESTING ERROR 11n";exit} 66 timeout {puts "TESTING ERROR 11n";exit}
67 "Child process initialized" 67 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
68} 68}
69expect { 69expect {
70 timeout {puts "TESTING ERROR 12n";exit} 70 timeout {puts "TESTING ERROR 12n";exit}
@@ -75,7 +75,7 @@ sleep 1
75send -- "firejail --profile=macro-blacklist.profile ls ~/Music\r" 75send -- "firejail --profile=macro-blacklist.profile ls ~/Music\r"
76expect { 76expect {
77 timeout {puts "TESTING ERROR 13\n";exit} 77 timeout {puts "TESTING ERROR 13\n";exit}
78 "Child process initialized" 78 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
79} 79}
80expect { 80expect {
81 timeout {puts "TESTING ERROR 14\n";exit} 81 timeout {puts "TESTING ERROR 14\n";exit}
@@ -86,7 +86,7 @@ sleep 1
86send -- "firejail --profile=macro-blacklist.profile ls ~/Pictures\r" 86send -- "firejail --profile=macro-blacklist.profile ls ~/Pictures\r"
87expect { 87expect {
88 timeout {puts "TESTING ERROR 15\n";exit} 88 timeout {puts "TESTING ERROR 15\n";exit}
89 "Child process initialized" 89 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
90} 90}
91expect { 91expect {
92 timeout {puts "TESTING ERROR 16\n";exit} 92 timeout {puts "TESTING ERROR 16\n";exit}
@@ -97,7 +97,7 @@ sleep 1
97send -- "firejail --profile=macro-blacklist.profile ls ~/Videos\r" 97send -- "firejail --profile=macro-blacklist.profile ls ~/Videos\r"
98expect { 98expect {
99 timeout {puts "TESTING ERROR 17\n";exit} 99 timeout {puts "TESTING ERROR 17\n";exit}
100 "Child process initialized" 100 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
101} 101}
102expect { 102expect {
103 timeout {puts "TESTING ERROR 18\n";exit} 103 timeout {puts "TESTING ERROR 18\n";exit}
@@ -108,7 +108,7 @@ sleep 1
108send -- "firejail --profile=macro-readonly.profile touch ~/Desktop/blablabla\r" 108send -- "firejail --profile=macro-readonly.profile touch ~/Desktop/blablabla\r"
109expect { 109expect {
110 timeout {puts "TESTING ERROR 19\n";exit} 110 timeout {puts "TESTING ERROR 19\n";exit}
111 "Child process initialized" 111 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
112} 112}
113expect { 113expect {
114 timeout {puts "TESTING ERROR 20\n";exit} 114 timeout {puts "TESTING ERROR 20\n";exit}
@@ -119,7 +119,7 @@ sleep 1
119send -- "firejail --profile=macro-readonly.profile touch ~/Documents/blablabla\r" 119send -- "firejail --profile=macro-readonly.profile touch ~/Documents/blablabla\r"
120expect { 120expect {
121 timeout {puts "TESTING ERROR 21\n";exit} 121 timeout {puts "TESTING ERROR 21\n";exit}
122 "Child process initialized" 122 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
123} 123}
124expect { 124expect {
125 timeout {puts "TESTING ERROR 22\n";exit} 125 timeout {puts "TESTING ERROR 22\n";exit}
@@ -130,7 +130,7 @@ sleep 1
130send -- "firejail --profile=macro-readonly.profile touch ~/Downloads/blablabla\r" 130send -- "firejail --profile=macro-readonly.profile touch ~/Downloads/blablabla\r"
131expect { 131expect {
132 timeout {puts "TESTING ERROR 23\n";exit} 132 timeout {puts "TESTING ERROR 23\n";exit}
133 "Child process initialized" 133 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
134} 134}
135expect { 135expect {
136 timeout {puts "TESTING ERROR 24\n";exit} 136 timeout {puts "TESTING ERROR 24\n";exit}
@@ -141,7 +141,7 @@ sleep 1
141send -- "firejail --profile=macro-readonly.profile touch ~/Music/blablabla\r" 141send -- "firejail --profile=macro-readonly.profile touch ~/Music/blablabla\r"
142expect { 142expect {
143 timeout {puts "TESTING ERROR 25\n";exit} 143 timeout {puts "TESTING ERROR 25\n";exit}
144 "Child process initialized" 144 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
145} 145}
146expect { 146expect {
147 timeout {puts "TESTING ERROR 26\n";exit} 147 timeout {puts "TESTING ERROR 26\n";exit}
@@ -152,7 +152,7 @@ sleep 1
152send -- "firejail --profile=macro-readonly.profile touch ~/Pictures/blablabla\r" 152send -- "firejail --profile=macro-readonly.profile touch ~/Pictures/blablabla\r"
153expect { 153expect {
154 timeout {puts "TESTING ERROR 27\n";exit} 154 timeout {puts "TESTING ERROR 27\n";exit}
155 "Child process initialized" 155 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
156} 156}
157expect { 157expect {
158 timeout {puts "TESTING ERROR 28\n";exit} 158 timeout {puts "TESTING ERROR 28\n";exit}
@@ -163,7 +163,7 @@ sleep 1
163send -- "firejail --profile=macro-readonly.profile touch ~/Videos/blablabla\r" 163send -- "firejail --profile=macro-readonly.profile touch ~/Videos/blablabla\r"
164expect { 164expect {
165 timeout {puts "TESTING ERROR 29\n";exit} 165 timeout {puts "TESTING ERROR 29\n";exit}
166 "Child process initialized" 166 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
167} 167}
168expect { 168expect {
169 timeout {puts "TESTING ERROR 30\n";exit} 169 timeout {puts "TESTING ERROR 30\n";exit}