aboutsummaryrefslogtreecommitdiffstats
path: root/test/sysutils/sha512sum.exp
diff options
context:
space:
mode:
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"