diff options
author | netblue30 <netblue30@protonmail.com> | 2023-02-28 09:51:26 -0500 |
---|---|---|
committer | netblue30 <netblue30@protonmail.com> | 2023-02-28 09:51:26 -0500 |
commit | 27c4d069f322fbeca07c88e0e96208233103a5db (patch) | |
tree | fb4b4fdc75eb5e633ab55b8228a60f54176446a0 /test/appimage | |
parent | fix cppcheck/scan-build problems (diff) | |
download | firejail-27c4d069f322fbeca07c88e0e96208233103a5db.tar.gz firejail-27c4d069f322fbeca07c88e0e96208233103a5db.tar.zst firejail-27c4d069f322fbeca07c88e0e96208233103a5db.zip |
chroot testing
Diffstat (limited to 'test/appimage')
-rwxr-xr-x | test/appimage/appimage-args.exp | 4 | ||||
-rwxr-xr-x | test/appimage/appimage-v1.exp | 4 | ||||
-rwxr-xr-x | test/appimage/appimage-v2.exp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/test/appimage/appimage-args.exp b/test/appimage/appimage-args.exp index c10007603..e85e8a46a 100755 --- a/test/appimage/appimage-args.exp +++ b/test/appimage/appimage-args.exp | |||
@@ -8,7 +8,7 @@ spawn $env(SHELL) | |||
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | set appimage_id $spawn_id | 10 | set appimage_id $spawn_id |
11 | send -- "firejail --name=appimage-test --debug --appimage Leafpad-0.8.17-x86_64.AppImage testfile\r" | 11 | send -- "firejail --name=test --debug --appimage Leafpad-0.8.17-x86_64.AppImage testfile\r" |
12 | expect { | 12 | expect { |
13 | timeout {puts "TESTING ERROR 1\n";exit} | 13 | timeout {puts "TESTING ERROR 1\n";exit} |
14 | "execvp argument 2" | 14 | "execvp argument 2" |
@@ -91,7 +91,7 @@ expect { | |||
91 | after 100 | 91 | after 100 |
92 | 92 | ||
93 | spawn $env(SHELL) | 93 | spawn $env(SHELL) |
94 | send -- "firejail --shutdown=appimage-test\r" | 94 | send -- "firejail --shutdown=test\r" |
95 | 95 | ||
96 | set spawn_id $appimage_id | 96 | set spawn_id $appimage_id |
97 | expect { | 97 | expect { |
diff --git a/test/appimage/appimage-v1.exp b/test/appimage/appimage-v1.exp index 72dfdea42..bb360cd18 100755 --- a/test/appimage/appimage-v1.exp +++ b/test/appimage/appimage-v1.exp | |||
@@ -8,7 +8,7 @@ spawn $env(SHELL) | |||
8 | match_max 100000 | 8 | match_max 100000 |
9 | set appimage_id $spawn_id | 9 | set appimage_id $spawn_id |
10 | 10 | ||
11 | send -- "firejail --name=appimage-test --debug --appimage Leafpad-0.8.17-x86_64.AppImage\r" | 11 | send -- "firejail --name=test --debug --appimage Leafpad-0.8.17-x86_64.AppImage\r" |
12 | expect { | 12 | expect { |
13 | timeout {puts "TESTING ERROR 1\n";exit} | 13 | timeout {puts "TESTING ERROR 1\n";exit} |
14 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" | 14 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" |
@@ -79,7 +79,7 @@ expect { | |||
79 | after 100 | 79 | after 100 |
80 | 80 | ||
81 | spawn $env(SHELL) | 81 | spawn $env(SHELL) |
82 | send -- "firejail --shutdown=appimage-test\r" | 82 | send -- "firejail --shutdown=test\r" |
83 | 83 | ||
84 | set spawn_id $appimage_id | 84 | set spawn_id $appimage_id |
85 | expect { | 85 | expect { |
diff --git a/test/appimage/appimage-v2.exp b/test/appimage/appimage-v2.exp index 0f865d94b..748ac3d79 100755 --- a/test/appimage/appimage-v2.exp +++ b/test/appimage/appimage-v2.exp | |||
@@ -8,7 +8,7 @@ spawn $env(SHELL) | |||
8 | match_max 100000 | 8 | match_max 100000 |
9 | set appimage_id $spawn_id | 9 | set appimage_id $spawn_id |
10 | 10 | ||
11 | send -- "firejail --name=appimage-test --appimage Leafpad-0.8.18.1.glibc2.4-x86_64.AppImage\r" | 11 | send -- "firejail --name=test --appimage Leafpad-0.8.18.1.glibc2.4-x86_64.AppImage\r" |
12 | expect { | 12 | expect { |
13 | timeout {puts "TESTING ERROR 1\n";exit} | 13 | timeout {puts "TESTING ERROR 1\n";exit} |
14 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" | 14 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" |
@@ -79,7 +79,7 @@ expect { | |||
79 | after 100 | 79 | after 100 |
80 | 80 | ||
81 | spawn $env(SHELL) | 81 | spawn $env(SHELL) |
82 | send -- "firejail --shutdown=appimage-test\r" | 82 | send -- "firejail --shutdown=test\r" |
83 | set spawn_id $appimage_id | 83 | set spawn_id $appimage_id |
84 | expect { | 84 | expect { |
85 | timeout {puts "shutdown\n"} | 85 | timeout {puts "shutdown\n"} |