aboutsummaryrefslogtreecommitdiffstats
path: root/test/appimage/appimage-v2.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-03-24 17:59:01 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-03-24 17:59:01 -0400
commit51400e245d453d9b45d984d323a2a5f86567480f (patch)
treebf37143a1b5652ab689559c80903282da4c47145 /test/appimage/appimage-v2.exp
parenttesting (diff)
downloadfirejail-51400e245d453d9b45d984d323a2a5f86567480f.tar.gz
firejail-51400e245d453d9b45d984d323a2a5f86567480f.tar.zst
firejail-51400e245d453d9b45d984d323a2a5f86567480f.zip
testing
Diffstat (limited to 'test/appimage/appimage-v2.exp')
-rwxr-xr-xtest/appimage/appimage-v2.exp11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/appimage/appimage-v2.exp b/test/appimage/appimage-v2.exp
index 10443a1c7..ad741c559 100755
--- a/test/appimage/appimage-v2.exp
+++ b/test/appimage/appimage-v2.exp
@@ -6,8 +6,9 @@
6set timeout 10 6set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9set appimage_id $spawn_id
9 10
10send -- "firejail --appimage Leafpad-0.8.18.1.glibc2.4-x86_64.AppImage\r" 11send -- "firejail --name=appimage-test --appimage Leafpad-0.8.18.1.glibc2.4-x86_64.AppImage\r"
11expect { 12expect {
12 timeout {puts "TESTING ERROR 1\n";exit} 13 timeout {puts "TESTING ERROR 1\n";exit}
13 "Child process initialized" 14 "Child process initialized"
@@ -79,7 +80,13 @@ after 100
79 80
80spawn $env(SHELL) 81spawn $env(SHELL)
81send -- "firejail --shutdown=appimage-test\r" 82send -- "firejail --shutdown=appimage-test\r"
82sleep 3 83set spawn_id $appimage_id
84expect {
85 timeout {puts "TESTING ERROR 7\n";exit}
86 "AppImage unmounted"
87}
88
89after 100
83 90
84puts "\nall done\n" 91puts "\nall done\n"
85 92