NAME=base64 encode
FILE=-
CMDS=<<EOF
b 11
w hello world
p6e
EOF
EXPECT=<<EOF
aGVsbG8gd29ybGQ=
EOF
RUN

NAME=base64 decode
FILE=-
CMDS=<<EOF
b 16
w aGVsbG8gd29ybGQ=
p6d
EOF
EXPECT=<<EOF
hello world
EOF
RUN
