You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
450 B
14 lines
450 B
https://bugs.gentoo.org/836790
|
|
https://github.com/VirusTotal/yara/pull/1683
|
|
--- a/tests/test-rules.c
|
|
+++ b/tests/test-rules.c
|
|
@@ -3061,7 +3061,7 @@ void test_process_scan()
|
|
exit(EXIT_FAILURE);
|
|
}
|
|
|
|
- spawn("/bin/sh", "-c", "VAR='Hello, world!'; sleep 600; true");
|
|
+ spawn("/bin/sh", "-c", "VAR='Hello, world!'; sleep 600& PID=\$!; trap \"kill \$PID\" EXIT; wait; true");
|
|
|
|
counters.rules_matching = 0;
|
|
counters.rules_not_matching = 0;
|