aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2021-03-13 18:48:40 +0100
committerLibravatar smitsohu <smitsohu@gmail.com>2021-03-13 18:59:24 +0100
commita22c5b0a9265be69a46ae1c3b5c9bbba10f3e6e9 (patch)
tree6f4c8049b1fea3973e6dada94722302c51a0010b /test
parentmore jailtest (diff)
downloadfirejail-a22c5b0a9265be69a46ae1c3b5c9bbba10f3e6e9.tar.gz
firejail-a22c5b0a9265be69a46ae1c3b5c9bbba10f3e6e9.tar.zst
firejail-a22c5b0a9265be69a46ae1c3b5c9bbba10f3e6e9.zip
make appimage mounts private to sandbox
Diffstat (limited to 'test')
-rwxr-xr-xtest/appimage/appimage-args.exp2
-rwxr-xr-xtest/appimage/appimage-trace.exp4
-rwxr-xr-xtest/appimage/appimage-v1.exp2
-rwxr-xr-xtest/appimage/appimage-v2.exp2
-rwxr-xr-xtest/appimage/appimage.sh2
-rwxr-xr-xtest/appimage/filename.exp2
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"
96set spawn_id $appimage_id 96set spawn_id $appimage_id
97expect { 97expect {
98 timeout {puts "shutdown\n";exit} 98 timeout {puts "shutdown\n";exit}
99 "AppImage unmounted" 99 "AppImage detached"
100} 100}
101 101
102after 100 102after 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}
32expect { 32expect {
33 timeout {puts "shutdown\n"} 33 timeout {puts "shutdown\n"}
34 "AppImage unmounted" 34 "AppImage detached"
35} 35}
36sleep 1 36sleep 1
37 37
@@ -58,7 +58,7 @@ expect {
58} 58}
59expect { 59expect {
60 timeout {puts "shutdown\n"} 60 timeout {puts "shutdown\n"}
61 "AppImage unmounted" 61 "AppImage detached"
62} 62}
63sleep 1 63sleep 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"
84set spawn_id $appimage_id 84set spawn_id $appimage_id
85expect { 85expect {
86 timeout {puts "shutdown\n"} 86 timeout {puts "shutdown\n"}
87 "AppImage unmounted" 87 "AppImage detached"
88} 88}
89 89
90after 100 90after 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"
83set spawn_id $appimage_id 83set spawn_id $appimage_id
84expect { 84expect {
85 timeout {puts "shutdown\n"} 85 timeout {puts "shutdown\n"}
86 "AppImage unmounted" 86 "AppImage detached"
87} 87}
88 88
89after 100 89after 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
22echo "TESTING: AppImage trace (test/appimage/appimage-trace.exp)" 22echo "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
17send -- "firejail --appimage /etc/shadow\r" 17send -- "firejail --appimage /etc/shadow\r"
18expect { 18expect {
19 timeout {puts "TESTING ERROR 2\n";exit} 19 timeout {puts "TESTING ERROR 2\n";exit}
20 "cannot access" 20 "cannot read"
21} 21}
22after 100 22after 100
23 23