diff options
Diffstat (limited to 'test/appimage/appimage-v1.exp')
-rwxr-xr-x | test/appimage/appimage-v1.exp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/appimage/appimage-v1.exp b/test/appimage/appimage-v1.exp index d9b64af1d..3364ff677 100755 --- a/test/appimage/appimage-v1.exp +++ b/test/appimage/appimage-v1.exp | |||
@@ -6,6 +6,7 @@ | |||
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 --name=appimage-test --debug --appimage Leafpad-0.8.17-x86_64.AppImage\r" | 11 | send -- "firejail --name=appimage-test --debug --appimage Leafpad-0.8.17-x86_64.AppImage\r" |
11 | expect { | 12 | expect { |
@@ -79,7 +80,14 @@ 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 | |
84 | set spawn_id $appimage_id | ||
85 | expect { | ||
86 | timeout {puts "TESTING ERROR 7\n";exit} | ||
87 | "AppImage unmounted" | ||
88 | } | ||
89 | |||
90 | after 100 | ||
83 | 91 | ||
84 | puts "\nall done\n" | 92 | puts "\nall done\n" |
85 | 93 | ||