diff options
author | anton <anton@cvs.openbsd.org> | 2017-06-20 16:46:52 +0000 |
---|---|---|
committer | anton <anton@cvs.openbsd.org> | 2017-06-20 16:46:52 +0000 |
commit | 305bfbefbd9fbf9716942e748e8121602b1f928d (patch) | |
tree | 2d7d5ed8ccc3af30ef18003fbcf3d776aff2061d /regress | |
parent | a5a26a840d20da5c29eb64dc73d849b1e295a788 (diff) |
Fix EOL tests for ksh vi mode.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/bin/ksh/edit/vi.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/bin/ksh/edit/vi.sh b/regress/bin/ksh/edit/vi.sh index dcac09f0f0b..2b2505115d6 100644 --- a/regress/bin/ksh/edit/vi.sh +++ b/regress/bin/ksh/edit/vi.sh @@ -33,10 +33,10 @@ testseq "ab\bc" " $ ab\b \bc" testseq "ab\0177c" " $ ab\b \bc" # ^J, ^M: End of line. -# XXX testseq "a\nab" " $ a\r\na" -# XXX testseq "a\rab" " $ a\r\na" -# XXX testseq "a\0033\nab" " $ a\b\r\na" -# XXX testseq "a\0033\rab" " $ a\b\r\na" +testseq "echo a\nb" " $ echo a\r\r\na\r\n $ b" +testseq "echo a\rb" " $ echo a\r\r\na\r\n $ b" +testseq "echo a\0033\nb" " $ echo a\b\r\r\na\r\n $ b" +testseq "echo a\0033\rb" " $ echo a\b\r\r\na\r\n $ b" # ^U: Kill. testseq "ab\0033ic\0025d" " $ ab\bcb\b\b\bb \b\b\bdb\b" |