aboutsummaryrefslogtreecommitdiffstats
path: root/test/environment
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2016-07-25 21:40:34 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2016-07-29 21:27:25 +0200
commite84b0693a5c6333ae8ab35ca37f787cbf6e3176f (patch)
treed83c5ff814136b4c15c129b63f0ae7040929e817 /test/environment
parentusing UID_MIN/GID_MIN values from /etc/login.def (diff)
downloadfirejail-e84b0693a5c6333ae8ab35ca37f787cbf6e3176f.tar.gz
firejail-e84b0693a5c6333ae8ab35ca37f787cbf6e3176f.tar.zst
firejail-e84b0693a5c6333ae8ab35ca37f787cbf6e3176f.zip
Don't assume that current directory is inside /home
Diffstat (limited to 'test/environment')
-rwxr-xr-xtest/environment/doubledash.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/environment/doubledash.exp b/test/environment/doubledash.exp
index 668468980..7abf4b918 100755
--- a/test/environment/doubledash.exp
+++ b/test/environment/doubledash.exp
@@ -36,23 +36,23 @@ expect {
36sleep 3 36sleep 3
37 37
38spawn $env(SHELL) 38spawn $env(SHELL)
39send -- "firejail --list;pwd\r" 39send -- "firejail --list;ls -d /tmp\r"
40expect { 40expect {
41 timeout {puts "TESTING ERROR 6\n";exit} 41 timeout {puts "TESTING ERROR 6\n";exit}
42 "name=testing" 42 "name=testing"
43} 43}
44expect { 44expect {
45 timeout {puts "TESTING ERROR 7\n";exit} 45 timeout {puts "TESTING ERROR 7\n";exit}
46 "home" 46 "/tmp"
47} 47}
48send -- "firejail --list;pwd\r" 48send -- "firejail --list;ls -d /tmp\r"
49expect { 49expect {
50 timeout {puts "TESTING ERROR 8 (join)\n";exit} 50 timeout {puts "TESTING ERROR 8 (join)\n";exit}
51 "join=testing" 51 "join=testing"
52} 52}
53expect { 53expect {
54 timeout {puts "TESTING ERROR 9\n";exit} 54 timeout {puts "TESTING ERROR 9\n";exit}
55 "home" 55 "/tmp"
56} 56}
57 57
58sleep 1 58sleep 1