Run tests in OpenBSD with doas. (#5234)
* fix netbsd dbg map test * openbsd: run doas rz-test with with correct environment
This commit is contained in:
parent
9875a993f3
commit
2ac62f1d5c
2 changed files with 8 additions and 3 deletions
|
|
@ -49,4 +49,8 @@ tasks:
|
|||
ln -s ${HOME}/rizin-testbins test/bins
|
||||
cd test
|
||||
# Running the unit tests
|
||||
MALLOC_OPTIONS=CFGU rz-test -t 1200 -L -o results.json
|
||||
doas env PATH="${HOME}/bin:${PATH}" \
|
||||
LD_LIBRARY_PATH="${HOME}/lib:${HOME}/lib64:${LD_LIBRARY_PATH}" \
|
||||
PKG_CONFIG_PATH="${HOME}/lib/pkgconfig:${PKG_CONFIG_PATH}" \
|
||||
MALLOC_OPTIONS=CFGU \
|
||||
rz-test -t 1200 -L -o results.json
|
||||
|
|
|
|||
|
|
@ -23,9 +23,10 @@ CMDS=<<EOF
|
|||
dm~hello~[3-9]
|
||||
dc
|
||||
EOF
|
||||
REGEXP_FILTER_OUT=(?:(\-\susr\s4K\ss\sr-x)|(?:\s[0-9]+\s(?=\d))|(\/home\/build\/rizin-testbins\/elf\/netbsd-hello-x64))
|
||||
EXPECT=<<EOF
|
||||
- usr 4K s r-x 1581277 /home/build/rizin-testbins/elf/netbsd-hello-x64
|
||||
Hello World
|
||||
- usr 4K s r-x
|
||||
/home/build/rizin-testbins/elf/netbsd-hello-x64
|
||||
EOF
|
||||
RUN
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue