aboutsummaryrefslogtreecommitdiffstats
path: root/test/sysutils/sha512sum.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-02-08 17:50:44 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2023-02-08 17:50:44 -0500
commit7176e6324d444b681b822f2a29c15d61c7f92677 (patch)
tree3a86a02ba87253be99886ff0f593ae300e2f9959 /test/sysutils/sha512sum.exp
parentadding machine-id to x11 group (diff)
downloadfirejail-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/sha512sum.exp')
-rwxr-xr-xtest/sysutils/sha512sum.exp21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/sysutils/sha512sum.exp b/test/sysutils/sha512sum.exp
new file mode 100755
index 000000000..2a88fef83
--- /dev/null
+++ b/test/sysutils/sha512sum.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
6set timeout 10
7spawn $env(SHELL)
8match_max 100000
9
10send -- "firejail sha512sum ../../COPYING\r"
11expect {
12 timeout {puts "TESTING ERROR 0\n";exit}
13 "aee80b1f"
14}
15expect {
16 timeout {puts "TESTING ERROR 1\n";exit}
17 "COPYING"
18}
19
20after 500
21puts "\nall done\n"