aboutsummaryrefslogtreecommitdiffstats
path: root/test/filters/memwrexe.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/filters/memwrexe.exp')
-rwxr-xr-xtest/filters/memwrexe.exp12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/filters/memwrexe.exp b/test/filters/memwrexe.exp
index da68b3b5f..d437d1ac5 100755
--- a/test/filters/memwrexe.exp
+++ b/test/filters/memwrexe.exp
@@ -29,6 +29,18 @@ expect {
29 "mprotect successful" {puts "TESTING ERROR 12\n";exit} 29 "mprotect successful" {puts "TESTING ERROR 12\n";exit}
30 "Parent is shutting down" 30 "Parent is shutting down"
31} 31}
32after 100
33
34send -- "firejail --memory-deny-write-execute ./memwrexe memfd_create\r"
35expect {
36 timeout {puts "TESTING ERROR 20\n";exit}
37 "Child process initialized"
38}
39expect {
40 timeout {puts "TESTING ERROR 21\n";exit}
41 "memfd_create successful" {puts "TESTING ERROR 22\n";exit}
42 "Parent is shutting down"
43}
32 44
33after 100 45after 100
34puts "\nall done\n" 46puts "\nall done\n"