radare2/test/new/db/cmd/cmd_wop
Khairul Azhar Kasmiran 781fcccf55
Move CMDS= before EXPECT= in tests (#16417)
* Move CMDS= before EXPECT= in tests

* Revert "Move CMDS= before EXPECT= in tests"

This reverts commit 13a9085a36.

* Move CMDS= before EXPECT= in tests, take 2

* Revert "Move CMDS= before EXPECT= in tests, take 2"

This reverts commit 7c0bf6d8e3.

* Move CMDS= before EXPECT= in tests, take 3

Co-authored-by: pancake <pancake@nopcode.org>
2020-04-05 20:56:06 +08:00

108 lines
1.0 KiB
Plaintext

NAME=debruijn little endian
FILE=-
CMDS=<<EOF
e cfg.bigendian=false
wopO 0x41574141
EOF
EXPECT=<<EOF
64
EOF
RUN
NAME=debruijn big endian
FILE=-
CMDS=<<EOF
e cfg.bigendian=true
wopO 0x41574141
EOF
EXPECT=<<EOF
65
EOF
RUN
NAME=wopD 0x10 @ 0
FILE=-
CMDS=<<EOF
wopD 0x10 @ 0
p8 0x10
EOF
EXPECT=<<EOF
41414142414143414144414145414146
EOF
RUN
NAME=wopD* 0x10
FILE=-
CMDS=wopD* 0x10
EXPECT=<<EOF
wx 41414142414143414144414145414146
EOF
RUN
NAME=wopO 0x41417641
FILE=-
CMDS=wopO 0x41417641
EXPECT=<<EOF
140
EOF
RUN
NAME=wopO 41417641
FILE=-
CMDS=wopO 41417641
EXPECT=<<EOF
EOF
RUN
NAME=woE woD rc4
FILE=-
CMDS=<<EOF
w helloworld
woE rc4 key
woD rc4 key
ps
EOF
EXPECT=<<EOF
helloworld
EOF
RUN
NAME=woE woD xor
FILE=-
CMDS=<<EOF
w helloworld
woE xor key
woD xor key
ps
EOF
EXPECT=<<EOF
helloworld
EOF
RUN
NAME=woE woD blowfish
FILE=-
CMDS=<<EOF
w helloworld
woE blowfish key
woD blowfish key
ps
EOF
EXPECT=<<EOF
helloworld
EOF
RUN
NAME=woE woD aes-ecb
FILE=-
CMDS=<<EOF
w helloworld
woE aes-ecb key
woD aes-ecb key
ps
EOF
EXPECT=<<EOF
helloworld
EOF
RUN