History log of /openbsd-current/regress/bin/ksh/edit/vi.sh
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.9 02-Sep-2021 jasper

regress tests shouldn't set or modify MALLOC_OPTIONS unless they're actually very specific behaviour

document this accordingly in the guidelines section of the manpage

ok bluhm@


# 1.8 01-Jul-2021 schwarze

Just in case another developer besides anton@ and myself even wants to
look at these tests: add a comment providing a high-level picture of
what is going on here, such that everyday maintenance can be performed
without going down the rabbit hole of subr.sh and edit.c.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.7 20-Sep-2020 tb

As in emacs.sh -r1.11 by jca, don't test the behavior of ^L. With
millert's clear-screen change in vi.c -r1.57 it now depends on $TERM


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.6 22-Aug-2017 anton

Make the edit regress tests respect the KSH variable just like the main regress
tests. Makes it easier to run all tests using another binary:

$ pwd
/usr/src/regress/bin/ksh
$ make KSH=/usr/src/bin/ksh/obj/ksh


# 1.5 22-Jul-2017 anton

Add missing RCS IDs and zap redundant SRCS from Makefile.


# 1.4 19-Jul-2017 anton

The first version of the edit program used to test csh, ksh and mail was based
on the following reasoning: once the program to test has written some data it
has entered the main-loop and is by now ready to receive user input. At this
point it should be safe to start writing input and once the program once again
enters a blocking reading state, its done processing the input. This approach
was sensitive to timing and determining when a shell is done processing its
input (if ever) is tricky.

This iteration of the edit program takes a new approach and uses presence of a
prompt for synchronisation of I/O. It doesn't solve all problems but is a step
in the right direction.

Joint work with bluhm@


# 1.3 05-Jul-2017 anton

Favor a UID-agnostic prompt in ksh edit mode tests. Allows the tests to pass
when executed as root.

Spotted by bluhm@


# 1.2 20-Jun-2017 anton

Fix EOL tests for ksh vi mode.


# 1.1 05-Jun-2017 anton

Add new edit regress files.

Absent from my previous commit.


# 1.8 01-Jul-2021 schwarze

Just in case another developer besides anton@ and myself even wants to
look at these tests: add a comment providing a high-level picture of
what is going on here, such that everyday maintenance can be performed
without going down the rabbit hole of subr.sh and edit.c.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.7 20-Sep-2020 tb

As in emacs.sh -r1.11 by jca, don't test the behavior of ^L. With
millert's clear-screen change in vi.c -r1.57 it now depends on $TERM


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.6 22-Aug-2017 anton

Make the edit regress tests respect the KSH variable just like the main regress
tests. Makes it easier to run all tests using another binary:

$ pwd
/usr/src/regress/bin/ksh
$ make KSH=/usr/src/bin/ksh/obj/ksh


# 1.5 22-Jul-2017 anton

Add missing RCS IDs and zap redundant SRCS from Makefile.


# 1.4 19-Jul-2017 anton

The first version of the edit program used to test csh, ksh and mail was based
on the following reasoning: once the program to test has written some data it
has entered the main-loop and is by now ready to receive user input. At this
point it should be safe to start writing input and once the program once again
enters a blocking reading state, its done processing the input. This approach
was sensitive to timing and determining when a shell is done processing its
input (if ever) is tricky.

This iteration of the edit program takes a new approach and uses presence of a
prompt for synchronisation of I/O. It doesn't solve all problems but is a step
in the right direction.

Joint work with bluhm@


# 1.3 05-Jul-2017 anton

Favor a UID-agnostic prompt in ksh edit mode tests. Allows the tests to pass
when executed as root.

Spotted by bluhm@


# 1.2 20-Jun-2017 anton

Fix EOL tests for ksh vi mode.


# 1.1 05-Jun-2017 anton

Add new edit regress files.

Absent from my previous commit.


# 1.7 20-Sep-2020 tb

As in emacs.sh -r1.11 by jca, don't test the behavior of ^L. With
millert's clear-screen change in vi.c -r1.57 it now depends on $TERM


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.6 22-Aug-2017 anton

Make the edit regress tests respect the KSH variable just like the main regress
tests. Makes it easier to run all tests using another binary:

$ pwd
/usr/src/regress/bin/ksh
$ make KSH=/usr/src/bin/ksh/obj/ksh


# 1.5 22-Jul-2017 anton

Add missing RCS IDs and zap redundant SRCS from Makefile.


# 1.4 19-Jul-2017 anton

The first version of the edit program used to test csh, ksh and mail was based
on the following reasoning: once the program to test has written some data it
has entered the main-loop and is by now ready to receive user input. At this
point it should be safe to start writing input and once the program once again
enters a blocking reading state, its done processing the input. This approach
was sensitive to timing and determining when a shell is done processing its
input (if ever) is tricky.

This iteration of the edit program takes a new approach and uses presence of a
prompt for synchronisation of I/O. It doesn't solve all problems but is a step
in the right direction.

Joint work with bluhm@


# 1.3 05-Jul-2017 anton

Favor a UID-agnostic prompt in ksh edit mode tests. Allows the tests to pass
when executed as root.

Spotted by bluhm@


# 1.2 20-Jun-2017 anton

Fix EOL tests for ksh vi mode.


# 1.1 05-Jun-2017 anton

Add new edit regress files.

Absent from my previous commit.


Revision tags: OPENBSD_6_2_BASE
# 1.6 22-Aug-2017 anton

Make the edit regress tests respect the KSH variable just like the main regress
tests. Makes it easier to run all tests using another binary:

$ pwd
/usr/src/regress/bin/ksh
$ make KSH=/usr/src/bin/ksh/obj/ksh


# 1.5 22-Jul-2017 anton

Add missing RCS IDs and zap redundant SRCS from Makefile.


# 1.4 19-Jul-2017 anton

The first version of the edit program used to test csh, ksh and mail was based
on the following reasoning: once the program to test has written some data it
has entered the main-loop and is by now ready to receive user input. At this
point it should be safe to start writing input and once the program once again
enters a blocking reading state, its done processing the input. This approach
was sensitive to timing and determining when a shell is done processing its
input (if ever) is tricky.

This iteration of the edit program takes a new approach and uses presence of a
prompt for synchronisation of I/O. It doesn't solve all problems but is a step
in the right direction.

Joint work with bluhm@


# 1.3 05-Jul-2017 anton

Favor a UID-agnostic prompt in ksh edit mode tests. Allows the tests to pass
when executed as root.

Spotted by bluhm@


# 1.2 20-Jun-2017 anton

Fix EOL tests for ksh vi mode.


# 1.1 05-Jun-2017 anton

Add new edit regress files.

Absent from my previous commit.