Skip to content

Commit 9f0c20e

Browse files
authored
test-rules: Increase sleep duration of spawned shell process (VirusTotal#1484)
This will not increase the usual time the test takes because the sleep is interrupted with a SIGALRM after the scan. Close: VirusTotal#1474
1 parent e1360f6 commit 9f0c20e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-rules.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2792,7 +2792,7 @@ void test_process_scan()
27922792
"/bin/sh",
27932793
"/bin/sh",
27942794
"-c",
2795-
"VAR='Hello, world!'; sleep 5; true",
2795+
"VAR='Hello, world!'; sleep 600; true",
27962796
NULL) == -1)
27972797
exit(1);
27982798
}

0 commit comments

Comments
 (0)