From 51400e245d453d9b45d984d323a2a5f86567480f Mon Sep 17 00:00:00 2001 From: netblue30 Date: Fri, 24 Mar 2017 17:59:01 -0400 Subject: testing --- test/appimage/appimage-v2.exp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'test/appimage/appimage-v2.exp') 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 @@ set timeout 10 spawn $env(SHELL) match_max 100000 +set appimage_id $spawn_id -send -- "firejail --appimage Leafpad-0.8.18.1.glibc2.4-x86_64.AppImage\r" +send -- "firejail --name=appimage-test --appimage Leafpad-0.8.18.1.glibc2.4-x86_64.AppImage\r" expect { timeout {puts "TESTING ERROR 1\n";exit} "Child process initialized" @@ -79,7 +80,13 @@ after 100 spawn $env(SHELL) send -- "firejail --shutdown=appimage-test\r" -sleep 3 +set spawn_id $appimage_id +expect { + timeout {puts "TESTING ERROR 7\n";exit} + "AppImage unmounted" +} + +after 100 puts "\nall done\n" -- cgit v1.2.3-54-g00ecf