diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2016-07-25 21:40:34 +0200 |
---|---|---|
committer | Reiner Herrmann <reiner@reiner-h.de> | 2016-07-29 21:27:25 +0200 |
commit | e84b0693a5c6333ae8ab35ca37f787cbf6e3176f (patch) | |
tree | d83c5ff814136b4c15c129b63f0ae7040929e817 | |
parent | using UID_MIN/GID_MIN values from /etc/login.def (diff) | |
download | firejail-e84b0693a5c6333ae8ab35ca37f787cbf6e3176f.tar.gz firejail-e84b0693a5c6333ae8ab35ca37f787cbf6e3176f.tar.zst firejail-e84b0693a5c6333ae8ab35ca37f787cbf6e3176f.zip |
Don't assume that current directory is inside /home
-rwxr-xr-x | test/environment/doubledash.exp | 8 |
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 { | |||
36 | sleep 3 | 36 | sleep 3 |
37 | 37 | ||
38 | spawn $env(SHELL) | 38 | spawn $env(SHELL) |
39 | send -- "firejail --list;pwd\r" | 39 | send -- "firejail --list;ls -d /tmp\r" |
40 | expect { | 40 | expect { |
41 | timeout {puts "TESTING ERROR 6\n";exit} | 41 | timeout {puts "TESTING ERROR 6\n";exit} |
42 | "name=testing" | 42 | "name=testing" |
43 | } | 43 | } |
44 | expect { | 44 | expect { |
45 | timeout {puts "TESTING ERROR 7\n";exit} | 45 | timeout {puts "TESTING ERROR 7\n";exit} |
46 | "home" | 46 | "/tmp" |
47 | } | 47 | } |
48 | send -- "firejail --list;pwd\r" | 48 | send -- "firejail --list;ls -d /tmp\r" |
49 | expect { | 49 | expect { |
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 | } |
53 | expect { | 53 | expect { |
54 | timeout {puts "TESTING ERROR 9\n";exit} | 54 | timeout {puts "TESTING ERROR 9\n";exit} |
55 | "home" | 55 | "/tmp" |
56 | } | 56 | } |
57 | 57 | ||
58 | sleep 1 | 58 | sleep 1 |