projects
/
emu8051.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add tests for CLI version commands
[emu8051.git]
/
tests
/
cmd_wi.sh
diff --git a/tests/cmd_wi.sh
b/tests/cmd_wi.sh
new file mode 100755
(executable)
index 0000000..
a68fed1
--- /dev/null
+++ b/
tests/cmd_wi.sh
@@ -0,0
+1,7
@@
+#!/bin/sh
+
+CMD_NAME="wi"
+CMD=$'wi 0x40 0x30\x0a wi 0x41 0x31\x0a wi 0x42 0x32\x0a di 0x40 16'
+TEST_OUTPUT="0040 30 31 32 00 00 00 00 00 00 00 00 00 00 00 00 00 012............."
+
+. $srcdir/cmd.sh