mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
small test fixes
This commit is contained in:
parent
ec4cbf547e
commit
52898f467a
2 changed files with 6 additions and 6 deletions
|
|
@ -38,7 +38,7 @@ expect {
|
|||
"Installing /run/firejail/mnt/seccomp/seccomp.protocol seccomp filter"
|
||||
}
|
||||
after 100
|
||||
send -- "ls -l /run/firejail/mnt/seccomp | grep -c seccomp\r"
|
||||
send -- "wc -l /run/firejail/mnt/seccomp/seccomp.list\r"
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 8\n";exit}
|
||||
"3"
|
||||
|
|
@ -61,7 +61,7 @@ expect {
|
|||
"monitoring"
|
||||
}
|
||||
after 100
|
||||
send -- "ls -l /run/firejail/mnt | grep -c seccomp\r"
|
||||
send -- "wc -l /run/firejail/mnt/seccomp/seccomp.list\r"
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 13\n";exit}
|
||||
"4"
|
||||
|
|
@ -87,10 +87,10 @@ expect {
|
|||
"/run/firejail/mnt/seccomp/seccomp.protocol seccomp filter"
|
||||
}
|
||||
after 100
|
||||
send -- "ls -l /run/firejail/mnt/seccomp | grep -c seccomp\r"
|
||||
send -- "wc -l /run/firejail/mnt/seccomp/seccomp.list\r"
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 18\n";exit}
|
||||
"10"
|
||||
"7"
|
||||
}
|
||||
send -- "exit\r"
|
||||
sleep 1
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ spawn $env(SHELL)
|
|||
match_max 100000
|
||||
|
||||
send -- "mkdir --mode=700 ~/.cache\r"
|
||||
after 100
|
||||
after 500
|
||||
|
||||
send -- "touch ~/.cache/abcdefg\r"
|
||||
after 100
|
||||
after 500
|
||||
|
||||
if { ! [file exists ~/.cache/abcdefg] } {
|
||||
puts "TESTING ERROR 0\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue