]> Git Repo - qemu.git/commitdiff
tests/hmp: Fix typo in the 'chardev-send-break' test
authorThomas Huth <[email protected]>
Thu, 27 Jul 2017 09:51:37 +0000 (11:51 +0200)
committerPeter Maydell <[email protected]>
Wed, 2 Aug 2017 14:51:52 +0000 (15:51 +0100)
testchardev2 is not a valid chardev id here. Use testchardev1
instead which has been created with chardev-add right before
the 'chardev-send-break' line.
And while we're at it, add the test-hmp.c file to the MAINTAINERS
file, too.

Signed-off-by: Thomas Huth <[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Message-id: 1501149097[email protected]
Signed-off-by: Peter Maydell <[email protected]>
MAINTAINERS
tests/test-hmp.c

index 577e17b78dc4d87d2e80395ae52ab4400a88eab7..ccee28b12d1c6301d27139a1e8edd5c6976bea1e 100644 (file)
@@ -1346,6 +1346,7 @@ F: monitor.c
 F: hmp.[ch]
 F: hmp-commands*.hx
 F: include/monitor/hmp-target.h
+F: tests/test-hmp.c
 
 Network device backends
 M: Jason Wang <[email protected]>
index d77b3c8710aff11cf8b711cbaa7c76410cd8f868..729c0339f70806df9867a94a0af8a6cb09944f6a 100644 (file)
@@ -22,7 +22,7 @@ static int verbose;
 static const char *hmp_cmds[] = {
     "boot_set ndc",
     "chardev-add null,id=testchardev1",
-    "chardev-send-break testchardev2",
+    "chardev-send-break testchardev1",
     "chardev-change testchardev1 ringbuf",
     "chardev-remove testchardev1",
     "commit all",
This page took 0.029039 seconds and 4 git commands to generate.