aboutsummaryrefslogtreecommitdiffstats
path: root/test/appimage/appimage-v2.exp
diff options
context:
space:
mode:
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