aboutsummaryrefslogtreecommitdiffstats
path: root/test/profiles
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-04-28 15:22:09 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-04-28 15:22:09 -0400
commitc4f10394ab24327b1f303cba493723def9ab99ba (patch)
tree48955affcb0827807cfdacaf496d9cabb82ab93b /test/profiles
parentremoved cd home from /test/environment/* files (diff)
downloadfirejail-c4f10394ab24327b1f303cba493723def9ab99ba.tar.gz
firejail-c4f10394ab24327b1f303cba493723def9ab99ba.tar.zst
firejail-c4f10394ab24327b1f303cba493723def9ab99ba.zip
fixed make test-envirnment for running under /tmp
Diffstat (limited to 'test/profiles')
-rwxr-xr-xtest/profiles/profile_syntax.exp16
1 files changed, 2 insertions, 14 deletions
diff --git a/test/profiles/profile_syntax.exp b/test/profiles/profile_syntax.exp
index ecad1043b..2b1ec7797 100755
--- a/test/profiles/profile_syntax.exp
+++ b/test/profiles/profile_syntax.exp
@@ -34,32 +34,20 @@ expect {
34 timeout {puts "TESTING ERROR 4\n";exit} 34 timeout {puts "TESTING ERROR 4\n";exit}
35 "Permission denied" 35 "Permission denied"
36} 36}
37expect {
38 timeout {puts "TESTING ERROR 5\n";exit}
39 "home"
40}
41 37
42sleep 1 38sleep 1
43send -- "mount;pwd\r" 39send -- "mount\r"
44expect { 40expect {
45 timeout {puts "TESTING ERROR 6\n";exit} 41 timeout {puts "TESTING ERROR 6\n";exit}
46 "Permission denied" 42 "Permission denied"
47} 43}
48expect {
49 timeout {puts "TESTING ERROR 7\n";exit}
50 "home"
51}
52 44
53sleep 1 45sleep 1
54send -- "umount;pwd\r" 46send -- "umount\r"
55expect { 47expect {
56 timeout {puts "TESTING ERROR 8\n";exit} 48 timeout {puts "TESTING ERROR 8\n";exit}
57 "Permission denied" 49 "Permission denied"
58} 50}
59expect {
60 timeout {puts "TESTING ERROR 9\n";exit}
61 "home"
62}
63send -- "exit\r" 51send -- "exit\r"
64 52
65sleep 1 53sleep 1