summaryrefslogtreecommitdiffstatshomepage
path: root/tests/cmdline/repl_emacs_keys.py
diff options
context:
space:
mode:
authorTom Soulanille <soul@prama.com>2015-07-29 23:16:51 -0700
committerDamien George <damien.p.george@gmail.com>2015-08-06 00:03:44 +0100
commit89852d38ef097892e1d4624c4ec4389275603872 (patch)
treed8976ac0e7ee4f2db667ecbf70335138201c180b /tests/cmdline/repl_emacs_keys.py
parent526dd542528c681c81558ba8395759e891cdecf2 (diff)
downloadmicropython-89852d38ef097892e1d4624c4ec4389275603872.tar.gz
micropython-89852d38ef097892e1d4624c4ec4389275603872.zip
run-tests: Test REPL emacs keys, but only if present.
Uses cmdline/repl_emacs_check.py to check for presence of emacs keys in repl before doing full feature test.
Diffstat (limited to 'tests/cmdline/repl_emacs_keys.py')
-rw-r--r--tests/cmdline/repl_emacs_keys.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/cmdline/repl_emacs_keys.py b/tests/cmdline/repl_emacs_keys.py
new file mode 100644
index 0000000000..ae9e6e14af
--- /dev/null
+++ b/tests/cmdline/repl_emacs_keys.py
@@ -0,0 +1,10 @@
+# REPL tests of GNU-ish readline navigation
+# history buffer navigation
+1
+2
+3
+
+
+# input line motion
+t = 12
+'boofar fbar'