diff options
author | 2023-02-08 17:50:44 -0500 | |
---|---|---|
committer | 2023-02-08 17:50:44 -0500 | |
commit | 7176e6324d444b681b822f2a29c15d61c7f92677 (patch) | |
tree | 3a86a02ba87253be99886ff0f593ae300e2f9959 /test/sysutils/md5sum.exp | |
parent | adding machine-id to x11 group (diff) | |
download | firejail-7176e6324d444b681b822f2a29c15d61c7f92677.tar.gz firejail-7176e6324d444b681b822f2a29c15d61c7f92677.tar.zst firejail-7176e6324d444b681b822f2a29c15d61c7f92677.zip |
private-etc: libreoffice, audacity, forzen-bubble, transmission, md5sum/sha512sum, more sysutils testing, fix electron-hardened.inc.profile
Diffstat (limited to 'test/sysutils/md5sum.exp')
-rwxr-xr-x | test/sysutils/md5sum.exp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/sysutils/md5sum.exp b/test/sysutils/md5sum.exp new file mode 100755 index 000000000..ab2482808 --- /dev/null +++ b/test/sysutils/md5sum.exp | |||
@@ -0,0 +1,21 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2022 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | set timeout 10 | ||
7 | spawn $env(SHELL) | ||
8 | match_max 100000 | ||
9 | |||
10 | send -- "firejail md5sum ../../COPYING\r" | ||
11 | expect { | ||
12 | timeout {puts "TESTING ERROR 0\n";exit} | ||
13 | "b234ee" | ||
14 | } | ||
15 | expect { | ||
16 | timeout {puts "TESTING ERROR 1\n";exit} | ||
17 | "COPYING" | ||
18 | } | ||
19 | |||
20 | after 500 | ||
21 | puts "\nall done\n" | ||