diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-12-08 15:40:21 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-12-08 15:40:21 +0200 |
commit | 03cf7aff97c45a3fdbae75da0d7596cef9578a81 (patch) | |
tree | c6e6c356b44b8b78e44692d18c46d2ed13ca19fa /test/functional/util | |
parent | 09f3015da643b82e24b054f1704aa6783bfc79e8 (diff) | |
download | rspamd-03cf7aff97c45a3fdbae75da0d7596cef9578a81.tar.gz rspamd-03cf7aff97c45a3fdbae75da0d7596cef9578a81.zip |
[Test] Redis key expansion & antivirus ordered patterns
Diffstat (limited to 'test/functional/util')
-rwxr-xr-x | test/functional/util/dummy_fprot.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/functional/util/dummy_fprot.py b/test/functional/util/dummy_fprot.py index 082934f4d..3bcdb7292 100755 --- a/test/functional/util/dummy_fprot.py +++ b/test/functional/util/dummy_fprot.py @@ -32,7 +32,10 @@ if __name__ == "__main__": alen = len(sys.argv) if alen > 1: port = int(sys.argv[1]) - if alen >= 3: + if alen >= 4: + PID = sys.argv[3] + foundvirus = bool(sys.argv[2]) + elif alen >= 3: foundvirus = bool(sys.argv[2]) else: foundvirus = False |