rizin/test/db/io/write
GustavoLCR a6bd48f98b
Fixes for tests (#2818)
* Close files before trying to delete them
* Add `-N` to not load the rizinrc in `read from stdin` test to avoid overwriting the color setting
* Make sure `.tmp` exists for `idpx` test
2022-07-19 18:09:33 +08:00

16 lines
132 B
Text

NAME=write
FILE=.newfile
ARGS=-w
CMDS=<<EOF
e io.va=0
w jeje
i~size[1]
p8 4
o--
rm ./.newfile
EOF
EXPECT=<<EOF
0x4
6a656a65
EOF
RUN