mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[tests] alarm after 5 seconds for elinks -test 1
This commit is contained in:
parent
05f97fa385
commit
b57e1eb565
@ -6,6 +6,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "elinks.h"
|
||||
|
||||
@ -643,6 +644,10 @@ init_ecmascript_module(struct module *module)
|
||||
char *xdg_config_home = get_xdg_config_home();
|
||||
read_url_list();
|
||||
|
||||
if (program.testjs) {
|
||||
alarm(5);
|
||||
}
|
||||
|
||||
if (xdg_config_home) {
|
||||
/* ecmascript console log */
|
||||
console_log_filename = straconcat(xdg_config_home, "/console.log", NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user