diff options
author | 2023-02-06 14:13:12 -0500 | |
---|---|---|
committer | 2023-02-06 14:13:12 -0500 | |
commit | 4a4bd8a617cfd01a95e92e915a118ba550870995 (patch) | |
tree | 88564c24d2bb4322fffdf41edb14b92c2b5784ef /test/sysutils/whois.exp | |
parent | Merge pull request #5643 from glitsj16/whois-fix (diff) | |
download | firejail-4a4bd8a617cfd01a95e92e915a118ba550870995.tar.gz firejail-4a4bd8a617cfd01a95e92e915a118ba550870995.tar.zst firejail-4a4bd8a617cfd01a95e92e915a118ba550870995.zip |
testing
Diffstat (limited to 'test/sysutils/whois.exp')
-rwxr-xr-x | test/sysutils/whois.exp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/sysutils/whois.exp b/test/sysutils/whois.exp new file mode 100755 index 000000000..29190253c --- /dev/null +++ b/test/sysutils/whois.exp | |||
@@ -0,0 +1,17 @@ | |||
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 whois debian.org\r" | ||
11 | expect { | ||
12 | timeout {puts "TESTING ERROR 0\n";exit} | ||
13 | "Domain Name" | ||
14 | } | ||
15 | |||
16 | after 100 | ||
17 | puts "\nall done\n" | ||