diff options
Diffstat (limited to 'test/appimage/appimage-v2.exp')
-rwxr-xr-x | test/appimage/appimage-v2.exp | 11 |
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 @@ | |||
6 | set timeout 10 | 6 | set timeout 10 |
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | set appimage_id $spawn_id | ||
9 | 10 | ||
10 | send -- "firejail --appimage Leafpad-0.8.18.1.glibc2.4-x86_64.AppImage\r" | 11 | send -- "firejail --name=appimage-test --appimage Leafpad-0.8.18.1.glibc2.4-x86_64.AppImage\r" |
11 | expect { | 12 | expect { |
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 | ||
80 | spawn $env(SHELL) | 81 | spawn $env(SHELL) |
81 | send -- "firejail --shutdown=appimage-test\r" | 82 | send -- "firejail --shutdown=appimage-test\r" |
82 | sleep 3 | 83 | set spawn_id $appimage_id |
84 | expect { | ||
85 | timeout {puts "TESTING ERROR 7\n";exit} | ||
86 | "AppImage unmounted" | ||
87 | } | ||
88 | |||
89 | after 100 | ||
83 | 90 | ||
84 | puts "\nall done\n" | 91 | puts "\nall done\n" |
85 | 92 | ||