mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-30 08:30:53 +00:00
Load plugins when running extra tests ##r2r
Co-authored-by: Sylvain Pelissier <sylvain.pelissier@kudelskisecurity.com>
This commit is contained in:
parent
f5c444ba67
commit
55e292681e
@ -894,7 +894,10 @@ static R2RProcessOutput *run_r2_test(R2RRunConfig *config, ut64 timeout_ms, int
|
||||
// r_pvector_push (&args, "-ebin.types=false");
|
||||
r_pvector_push (&args, "-escr.color=0");
|
||||
r_pvector_push (&args, "-escr.interactive=0");
|
||||
|
||||
if (!load_plugins) {
|
||||
r_pvector_push (&args, "-NN");
|
||||
}
|
||||
RListIter *it;
|
||||
void *extra_arg, *file_arg;
|
||||
if (extra_args) {
|
||||
@ -917,8 +920,10 @@ static R2RProcessOutput *run_r2_test(R2RRunConfig *config, ut64 timeout_ms, int
|
||||
r_pvector_push (&envvars, "ANSICON");
|
||||
r_pvector_push (&envvals, "1");
|
||||
#endif
|
||||
if (!load_plugins) {
|
||||
r_pvector_push (&envvars, "R2_NOPLUGINS");
|
||||
r_pvector_push (&envvals, "1");
|
||||
}
|
||||
|
||||
if (extra_env)
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
NAME=yara: scan
|
||||
NAME=yara scan
|
||||
FILE=bins/elf/vim
|
||||
CMDS=<<EOF
|
||||
yara scan
|
||||
yrs
|
||||
f
|
||||
EOF
|
||||
EXPECT=<<EOF
|
||||
@ -20,11 +20,11 @@ SHA256_Constants
|
||||
EOF
|
||||
RUN
|
||||
|
||||
NAME=yara: scanS
|
||||
NAME=yara: scan with strings
|
||||
FILE=malloc://1024
|
||||
CMDS=<<EOF
|
||||
wx cffbc0b5e9b5dba5a5dbb5e9d728ae2222ae28d7
|
||||
yara scanS
|
||||
yrs S
|
||||
EOF
|
||||
EXPECT=<<EOF
|
||||
SHA512_Constants
|
||||
|
Loading…
Reference in New Issue
Block a user