diff options
| author | Oliver Kiddle <opk@users.sourceforge.net> | 2013-02-12 10:55:32 +0000 |
|---|---|---|
| committer | Oliver Kiddle <opk@users.sourceforge.net> | 2013-02-12 10:55:32 +0000 |
| commit | b6544d1ef3312cc133da648d290d2ec2866c277d (patch) | |
| tree | 4c20a1edb307b3dd687d1941ef3cf48a13c47dbd /Test/X02zlevi.ztst | |
| parent | remove duplication in git guidelines (diff) | |
| download | zsh-b6544d1ef3312cc133da648d290d2ec2866c277d.tar zsh-b6544d1ef3312cc133da648d290d2ec2866c277d.tar.gz zsh-b6544d1ef3312cc133da648d290d2ec2866c277d.tar.bz2 zsh-b6544d1ef3312cc133da648d290d2ec2866c277d.tar.lz zsh-b6544d1ef3312cc133da648d290d2ec2866c277d.tar.xz zsh-b6544d1ef3312cc133da648d290d2ec2866c277d.tar.zst zsh-b6544d1ef3312cc133da648d290d2ec2866c277d.zip | |
31041: add support for testing line editor widgets from the test suite
Diffstat (limited to 'Test/X02zlevi.ztst')
| -rw-r--r-- | Test/X02zlevi.ztst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Test/X02zlevi.ztst b/Test/X02zlevi.ztst new file mode 100644 index 000000000..d4a125f21 --- /dev/null +++ b/Test/X02zlevi.ztst @@ -0,0 +1,20 @@ +# Tests of the vi mode of ZLE + +%prep + if ( zmodload -i zsh/zpty ) >/dev/null 2>&1; then + . $ZTST_srcdir/comptest + comptestinit -v -z $ZTST_testdir/../Src/zsh + else + ZTST_unimplemented="the zsh/zpty module is not available" + fi + +%test + + zletest $'one two\ebmt3|`tx``' +0:setting mark and returning to original position +>BUFFER: one wo +>CURSOR: 2 + +%clean + + zmodload -ui zsh/zpty |
