aboutsummaryrefslogtreecommitdiffstats
path: root/test/profiles/profile_noperm.exp
blob: b3b031cb2d06d3affc21b3611277ae9adb140ffa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/expect -f

set timeout 10
spawn $env(SHELL)
match_max 100000

send -- "firejail --profile=/etc/shadow\r"
expect {
	timeout {puts "TESTING ERROR 0\n";exit}
	"cannot access profile"
}
after 100
puts "\nall done\n"