I happened to break this locally and the testsuite didn't notice it.
Add some tests.
gdb/ChangeLog:
2016-02-18 Pedro Alves <palves@redhat.com>
* gdb.base/command-line-input.exp: New file.
---
gdb/testsuite/gdb.base/command-line-input.exp | 36 +++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 gdb/testsuite/gdb.base/command-line-input.exp
diff --git a/gdb/testsuite/gdb.base/command-line-input.exp b/gdb/testsuite/gdb.base/command-line-input.exp
new file mode 100644
index 0000000..0a9d44b
--- /dev/null
+++ b/gdb/testsuite/gdb.base/command-line-input.exp
@@ -0,0 +1,36 @@
+# Copyright (C) 2014-2016 Free Software Foundation, Inc.
+#