aboutsummaryrefslogtreecommitdiffstats
path: root/test/sysutils/file.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/sysutils/file.exp')
-rwxr-xr-xtest/sysutils/file.exp16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/sysutils/file.exp b/test/sysutils/file.exp
new file mode 100755
index 000000000..e40b83197
--- /dev/null
+++ b/test/sysutils/file.exp
@@ -0,0 +1,16 @@
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 -- "firejail file ~/.bashrc\r"
11expect {
12 timeout {puts "TESTING ERROR 1\n";exit}
13 "ASCII text"
14}
15
16puts "\nall done\n"