aboutsummaryrefslogtreecommitdiffstats
path: root/test/profile_noperm.exp
blob: b3ed558bc3b103359c8ca4d35fc310d8b44058b7 (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 "\n"