aboutsummaryrefslogtreecommitdiffstats
path: root/test/profiles/profile_noperm.exp
blob: 25ec580bdafde3c1281d1e2c89d68a9c3d833a9f (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"
}
sleep 1
puts "\nall done\n"