[Forensics-changes] [yara] 276/415: Add new test case
Hilko Bengen
bengen at moszumanska.debian.org
Thu Apr 3 05:43:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch debian
in repository yara.
commit f261f2b50ee4db62a99592509630427947a80f2b
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Tue Dec 3 10:46:44 2013 +0100
Add new test case
---
yara-python/tests.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/yara-python/tests.py b/yara-python/tests.py
index 0a5c016..8d68ed2 100644
--- a/yara-python/tests.py
+++ b/yara-python/tests.py
@@ -330,7 +330,8 @@ class TestYara(unittest.TestCase):
self.assertTrueRules([
'rule test { strings: $a = "ssi" $b = "mis" $c = "oops" condition: any of them }',
'rule test { strings: $a = "ssi" $b = "mis" $c = "oops" condition: 1 of them }',
- 'rule test { strings: $a = "ssi" $b = "mis" $c = "oops" condition: 2 of them }'
+ 'rule test { strings: $a = "ssi" $b = "mis" $c = "oops" condition: 2 of them }',
+ 'rule test { strings: $a1 = "dummy1" $b1 = "dummy1" $b2 = "ssi" condition: any of ($a*, $b*) }',
], 'mississipi')
self.assertFalseRules([
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list