diff options
author | netblue30 <netblue30@yahoo.com> | 2017-03-24 17:59:01 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-03-24 17:59:01 -0400 |
commit | 51400e245d453d9b45d984d323a2a5f86567480f (patch) | |
tree | bf37143a1b5652ab689559c80903282da4c47145 /test/appimage/appimage-args.exp | |
parent | testing (diff) | |
download | firejail-51400e245d453d9b45d984d323a2a5f86567480f.tar.gz firejail-51400e245d453d9b45d984d323a2a5f86567480f.tar.zst firejail-51400e245d453d9b45d984d323a2a5f86567480f.zip |
testing
Diffstat (limited to 'test/appimage/appimage-args.exp')
-rwxr-xr-x | test/appimage/appimage-args.exp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/appimage/appimage-args.exp b/test/appimage/appimage-args.exp index f304f5b94..b93ad509d 100755 --- a/test/appimage/appimage-args.exp +++ b/test/appimage/appimage-args.exp | |||
@@ -7,6 +7,7 @@ set timeout 10 | |||
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | set appimage_id $spawn_id | ||
10 | send -- "firejail --name=appimage-test --debug --appimage Leafpad-0.8.17-x86_64.AppImage testfile\r" | 11 | send -- "firejail --name=appimage-test --debug --appimage Leafpad-0.8.17-x86_64.AppImage testfile\r" |
11 | expect { | 12 | expect { |
12 | timeout {puts "TESTING ERROR 1\n";exit} | 13 | timeout {puts "TESTING ERROR 1\n";exit} |
@@ -91,7 +92,14 @@ after 100 | |||
91 | 92 | ||
92 | spawn $env(SHELL) | 93 | spawn $env(SHELL) |
93 | send -- "firejail --shutdown=appimage-test\r" | 94 | send -- "firejail --shutdown=appimage-test\r" |
94 | sleep 3 | 95 | |
96 | set spawn_id $appimage_id | ||
97 | expect { | ||
98 | timeout {puts "TESTING ERROR 15\n";exit} | ||
99 | "AppImage unmounted" | ||
100 | } | ||
101 | |||
102 | after 100 | ||
95 | 103 | ||
96 | puts "\nall done\n" | 104 | puts "\nall done\n" |
97 | 105 | ||