aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/firemon-interface.exp
diff options
context:
space:
mode:
authorLibravatar valoq <valoq@mailbox.org>2016-11-19 22:12:51 +0100
committerLibravatar valoq <valoq@mailbox.org>2016-11-19 22:12:51 +0100
commit530db20edeee191a3b60d56b3b87999a3d10979e (patch)
tree9053d21580917bdf0e6480b2b2875e90b08b1d8c /test/utils/firemon-interface.exp
parentreadme updated (diff)
parentqemu profile (diff)
downloadfirejail-530db20edeee191a3b60d56b3b87999a3d10979e.tar.gz
firejail-530db20edeee191a3b60d56b3b87999a3d10979e.tar.zst
firejail-530db20edeee191a3b60d56b3b87999a3d10979e.zip
fixed readme
Diffstat (limited to 'test/utils/firemon-interface.exp')
-rwxr-xr-xtest/utils/firemon-interface.exp18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/utils/firemon-interface.exp b/test/utils/firemon-interface.exp
new file mode 100755
index 000000000..edafd1639
--- /dev/null
+++ b/test/utils/firemon-interface.exp
@@ -0,0 +1,18 @@
1#!/usr/bin/expect -f
2# This file is part of Firejail project
3# Copyright (C) 2014-2016 Firejail Authors
4# License GPL v2
5
6set timeout 10
7spawn $env(SHELL)
8match_max 100000
9
10send -- "firemon --interface\r"
11expect {
12 timeout {puts "TESTING ERROR 0\n";exit}
13 "you need to be root"
14}
15after 100
16
17puts "\nall done\n"
18