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_we.sh
diff --git a/tests/cmd_we.sh
b/tests/cmd_we.sh
new file mode 100755
(executable)
index 0000000..
2580329
--- /dev/null
+++ b/
tests/cmd_we.sh
@@ -0,0
+1,7
@@
+#!/bin/sh
+
+CMD_NAME="we"
+CMD=$'we 0x80 0x30\x0a we 0x81 0x31\x0a we 0x82 0x32\x0a de 0x80 16'
+TEST_OUTPUT="0080 30 31 32 00 00 00 00 00 00 00 00 00 00 00 00 00 012............."
+
+. $srcdir/cmd.sh