diff options
author | smitsohu <smitsohu@gmail.com> | 2021-03-13 18:48:40 +0100 |
---|---|---|
committer | smitsohu <smitsohu@gmail.com> | 2021-03-13 18:59:24 +0100 |
commit | a22c5b0a9265be69a46ae1c3b5c9bbba10f3e6e9 (patch) | |
tree | 6f4c8049b1fea3973e6dada94722302c51a0010b /test/appimage | |
parent | more jailtest (diff) | |
download | firejail-a22c5b0a9265be69a46ae1c3b5c9bbba10f3e6e9.tar.gz firejail-a22c5b0a9265be69a46ae1c3b5c9bbba10f3e6e9.tar.zst firejail-a22c5b0a9265be69a46ae1c3b5c9bbba10f3e6e9.zip |
make appimage mounts private to sandbox
Diffstat (limited to 'test/appimage')
-rwxr-xr-x | test/appimage/appimage-args.exp | 2 | ||||
-rwxr-xr-x | test/appimage/appimage-trace.exp | 4 | ||||
-rwxr-xr-x | test/appimage/appimage-v1.exp | 2 | ||||
-rwxr-xr-x | test/appimage/appimage-v2.exp | 2 | ||||
-rwxr-xr-x | test/appimage/appimage.sh | 2 | ||||
-rwxr-xr-x | test/appimage/filename.exp | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/test/appimage/appimage-args.exp b/test/appimage/appimage-args.exp index 16ab7f54d..eecb9bf82 100755 --- a/test/appimage/appimage-args.exp +++ b/test/appimage/appimage-args.exp | |||
@@ -96,7 +96,7 @@ send -- "firejail --shutdown=appimage-test\r" | |||
96 | set spawn_id $appimage_id | 96 | set spawn_id $appimage_id |
97 | expect { | 97 | expect { |
98 | timeout {puts "shutdown\n";exit} | 98 | timeout {puts "shutdown\n";exit} |
99 | "AppImage unmounted" | 99 | "AppImage detached" |
100 | } | 100 | } |
101 | 101 | ||
102 | after 100 | 102 | after 100 |
diff --git a/test/appimage/appimage-trace.exp b/test/appimage/appimage-trace.exp index 5f05e2846..2f67eb531 100755 --- a/test/appimage/appimage-trace.exp +++ b/test/appimage/appimage-trace.exp | |||
@@ -31,7 +31,7 @@ expect { | |||
31 | } | 31 | } |
32 | expect { | 32 | expect { |
33 | timeout {puts "shutdown\n"} | 33 | timeout {puts "shutdown\n"} |
34 | "AppImage unmounted" | 34 | "AppImage detached" |
35 | } | 35 | } |
36 | sleep 1 | 36 | sleep 1 |
37 | 37 | ||
@@ -58,7 +58,7 @@ expect { | |||
58 | } | 58 | } |
59 | expect { | 59 | expect { |
60 | timeout {puts "shutdown\n"} | 60 | timeout {puts "shutdown\n"} |
61 | "AppImage unmounted" | 61 | "AppImage detached" |
62 | } | 62 | } |
63 | sleep 1 | 63 | sleep 1 |
64 | 64 | ||
diff --git a/test/appimage/appimage-v1.exp b/test/appimage/appimage-v1.exp index d90793bb3..b8b6e0c96 100755 --- a/test/appimage/appimage-v1.exp +++ b/test/appimage/appimage-v1.exp | |||
@@ -84,7 +84,7 @@ send -- "firejail --shutdown=appimage-test\r" | |||
84 | set spawn_id $appimage_id | 84 | set spawn_id $appimage_id |
85 | expect { | 85 | expect { |
86 | timeout {puts "shutdown\n"} | 86 | timeout {puts "shutdown\n"} |
87 | "AppImage unmounted" | 87 | "AppImage detached" |
88 | } | 88 | } |
89 | 89 | ||
90 | after 100 | 90 | after 100 |
diff --git a/test/appimage/appimage-v2.exp b/test/appimage/appimage-v2.exp index b606c7a77..243824f75 100755 --- a/test/appimage/appimage-v2.exp +++ b/test/appimage/appimage-v2.exp | |||
@@ -83,7 +83,7 @@ send -- "firejail --shutdown=appimage-test\r" | |||
83 | set spawn_id $appimage_id | 83 | set spawn_id $appimage_id |
84 | expect { | 84 | expect { |
85 | timeout {puts "shutdown\n"} | 85 | timeout {puts "shutdown\n"} |
86 | "AppImage unmounted" | 86 | "AppImage detached" |
87 | } | 87 | } |
88 | 88 | ||
89 | after 100 | 89 | after 100 |
diff --git a/test/appimage/appimage.sh b/test/appimage/appimage.sh index 548cd7fdf..e766b1acd 100755 --- a/test/appimage/appimage.sh +++ b/test/appimage/appimage.sh | |||
@@ -20,4 +20,4 @@ echo "TESTING: AppImage argsv1 (test/appimage/appimage-args.exp)" | |||
20 | ./appimage-args.exp | 20 | ./appimage-args.exp |
21 | 21 | ||
22 | echo "TESTING: AppImage trace (test/appimage/appimage-trace.exp)" | 22 | echo "TESTING: AppImage trace (test/appimage/appimage-trace.exp)" |
23 | ./appimage-args.exp | 23 | ./appimage-trace.exp |
diff --git a/test/appimage/filename.exp b/test/appimage/filename.exp index 7b64129b7..54d8d722d 100755 --- a/test/appimage/filename.exp +++ b/test/appimage/filename.exp | |||
@@ -17,7 +17,7 @@ after 100 | |||
17 | send -- "firejail --appimage /etc/shadow\r" | 17 | send -- "firejail --appimage /etc/shadow\r" |
18 | expect { | 18 | expect { |
19 | timeout {puts "TESTING ERROR 2\n";exit} | 19 | timeout {puts "TESTING ERROR 2\n";exit} |
20 | "cannot access" | 20 | "cannot read" |
21 | } | 21 | } |
22 | after 100 | 22 | after 100 |
23 | 23 | ||