Re: CVS commit: src/tests/bin/sh

2023-12-29 Thread Andrius V
On Thu, Dec 28, 2023 at 11:08 PM Robert Elz wrote: > > [I could claim that the typo was deliberate, as part of > the test but that would be kind of absurd, sh does > no spell checking to test.] > > kre > Thanks for clarification. I definitely had few instances when I needed to revert

Re: CVS commit: src/tests/bin/sh

2023-12-28 Thread Robert Elz
Date:Thu, 28 Dec 2023 20:04:11 + From:"Andrius Varanavicius" Message-ID: <20231228200411.283ccf...@cvs.netbsd.org> | Modified Files: | src/tests/bin/sh: t_syntax.sh | Log Message: | s/synax/syntax/ in test description. Thanks for the correction, but,

CVS commit: src/tests/bin/sh

2023-12-28 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Thu Dec 28 20:04:11 UTC 2023 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: s/synax/syntax/ in test description. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/tests/bin/sh/t_syntax.sh Please

CVS commit: src/tests/bin/sh

2023-12-28 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Thu Dec 28 20:04:11 UTC 2023 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: s/synax/syntax/ in test description. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/tests/bin/sh/t_syntax.sh Please

CVS commit: src/tests/bin/sh

2023-05-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu May 11 10:08:35 UTC 2023 Modified Files: src/tests/bin/sh: t_patterns.sh Log Message: Fix building the debugging tarball of the directory tree created for the pathname matching tests ... this is not used in any way in a normal

CVS commit: src/tests/bin/sh

2023-05-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu May 11 10:08:35 UTC 2023 Modified Files: src/tests/bin/sh: t_patterns.sh Log Message: Fix building the debugging tarball of the directory tree created for the pathname matching tests ... this is not used in any way in a normal

CVS commit: src/tests/bin/sh

2023-05-10 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Thu May 11 01:50:40 UTC 2023 Modified Files: src/tests/bin/sh: t_patterns.sh Log Message: t_patterns.sh: fix naming of head() of filename_expansion To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/tests/bin/sh

2023-05-10 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Thu May 11 01:50:40 UTC 2023 Modified Files: src/tests/bin/sh: t_patterns.sh Log Message: t_patterns.sh: fix naming of head() of filename_expansion To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/tests/bin/sh

2023-05-10 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Thu May 11 00:32:48 UTC 2023 Modified Files: src/tests/bin/sh: t_cmdsub.sh Log Message: t_cmdsub.sh: fix naming of head() of cmdsub_paren_tests To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/tests/bin/sh

2023-05-10 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Thu May 11 00:32:48 UTC 2023 Modified Files: src/tests/bin/sh: t_cmdsub.sh Log Message: t_cmdsub.sh: fix naming of head() of cmdsub_paren_tests To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/tests/bin/sh

2023-03-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Mar 6 05:54:54 UTC 2023 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Adjust the tilde expansion test to deal with (very) recent changes to what the shell produces for tilde expansions, when the expansion of the

CVS commit: src/tests/bin/sh

2023-03-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Mar 6 05:54:54 UTC 2023 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Adjust the tilde expansion test to deal with (very) recent changes to what the shell produces for tilde expansions, when the expansion of the

CVS commit: src/tests/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 22 05:21:54 UTC 2021 Modified Files: src/tests/bin/sh: t_here.sh Log Message: PR bin/53550 /bin/sh's processing of here doc expansions has changed. Now it happens in the context of the parent shell, so side effects are

CVS commit: src/tests/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 22 05:21:54 UTC 2021 Modified Files: src/tests/bin/sh: t_here.sh Log Message: PR bin/53550 /bin/sh's processing of here doc expansions has changed. Now it happens in the context of the parent shell, so side effects are

CVS commit: src/tests/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 22 05:07:15 UTC 2021 Modified Files: src/tests/bin/sh: t_option.sh t_syntax.sh t_varval.sh Log Message: More tests that were doing ... | atf_check ... which allows the atf_check to fail without causing the test to fail

CVS commit: src/tests/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 22 05:07:15 UTC 2021 Modified Files: src/tests/bin/sh: t_option.sh t_syntax.sh t_varval.sh Log Message: More tests that were doing ... | atf_check ... which allows the atf_check to fail without causing the test to fail

CVS commit: src/tests/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Nov 21 20:50:35 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Deal with a lot more pipes into atf_check missed last time. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/tests/bin/sh

2021-11-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Nov 21 20:50:35 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Deal with a lot more pipes into atf_check missed last time. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/tests/bin/sh

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 11:15:26 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Fix a test that has been (unnoticed) failing ever since printf(1) was changed to exit(1) when it detects a write error to stdout. Running printf

CVS commit: src/tests/bin/sh

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 11:15:26 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Fix a test that has been (unnoticed) failing ever since printf(1) was changed to exit(1) when it detects a write error to stdout. Running printf

CVS commit: src/tests/bin/sh

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 11:12:15 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh t_syntax.sh Log Message: Correct a systematic atf_check usage error. One must not pipe into atf_check and simply expect it to work - the shell is permitted

CVS commit: src/tests/bin/sh

2021-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 16 11:12:15 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh t_syntax.sh Log Message: Correct a systematic atf_check usage error. One must not pipe into atf_check and simply expect it to work - the shell is permitted

CVS commit: src/tests/bin/sh

2021-09-08 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Sep 9 00:04:51 UTC 2021 Modified Files: src/tests/bin/sh: t_here.sh Log Message: Add a new test case to check for correct parsing and execution of a few bizarre here document usages, such as : << do | for x in xxx

CVS commit: src/tests/bin/sh

2021-09-08 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Sep 9 00:04:51 UTC 2021 Modified Files: src/tests/bin/sh: t_here.sh Log Message: Add a new test case to check for correct parsing and execution of a few bizarre here document usages, such as : << do | for x in xxx

CVS commit: src/tests/bin/sh

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:43:18 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Handle the (very) recent change to printf(1) - when writing to a closed stdout printf(1) now issues an error message, hence stderr in such cases

CVS commit: src/tests/bin/sh

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:43:18 UTC 2021 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Handle the (very) recent change to printf(1) - when writing to a closed stdout printf(1) now issues an error message, hence stderr in such cases

CVS commit: src/tests/bin/sh

2021-05-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 18 21:37:56 UTC 2021 Modified Files: src/tests/bin/sh: t_builtins.sh Log Message: Add two new sub-tests to the echo test case of the t_builtins shell ATF test. The first verifies that echo exits >0 when it encounters an I/O

CVS commit: src/tests/bin/sh

2021-05-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 18 21:37:56 UTC 2021 Modified Files: src/tests/bin/sh: t_builtins.sh Log Message: Add two new sub-tests to the echo test case of the t_builtins shell ATF test. The first verifies that echo exits >0 when it encounters an I/O

CVS commit: src/tests/bin/sh

2019-07-09 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jul 10 05:57:43 UTC 2019 Modified Files: src/tests/bin/sh: t_patterns.sh Log Message: Make sure we have enough free inodes before running the filename_expansion test. To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/tests/bin/sh

2019-07-09 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jul 10 05:57:43 UTC 2019 Modified Files: src/tests/bin/sh: t_patterns.sh Log Message: Make sure we have enough free inodes before running the filename_expansion test. To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/tests/bin/sh

2019-01-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jan 22 14:31:53 UTC 2019 Modified Files: src/tests/bin/sh: t_here.sh Log Message: Add sub tests to the quoting test case, to demonstrate a parsing bug (and its fix (depending upon whether the test is run against an unfixed, or

CVS commit: src/tests/bin/sh

2019-01-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jan 22 14:31:53 UTC 2019 Modified Files: src/tests/bin/sh: t_here.sh Log Message: Add sub tests to the quoting test case, to demonstrate a parsing bug (and its fix (depending upon whether the test is run against an unfixed, or

CVS commit: src/tests/bin/sh

2019-01-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jan 9 10:51:24 UTC 2019 Modified Files: src/tests/bin/sh: t_builtins.sh Log Message: Add several sub-tests to the test for the "eval" builtin, including testing correct handling of error cases. One of these new tests located a

CVS commit: src/tests/bin/sh

2019-01-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jan 9 10:51:24 UTC 2019 Modified Files: src/tests/bin/sh: t_builtins.sh Log Message: Add several sub-tests to the test for the "eval" builtin, including testing correct handling of error cases. One of these new tests located a

CVS commit: src/tests/bin/sh

2018-12-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Dec 12 11:52:05 UTC 2018 Modified Files: src/tests/bin/sh: t_builtins.sh Log Message: Add a new test case for NetBSD specific readonly tests. Add more sub-tests to the export_nbsd test case. In both cases the new -q and -p VAR

CVS commit: src/tests/bin/sh

2018-12-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Dec 12 11:52:05 UTC 2018 Modified Files: src/tests/bin/sh: t_builtins.sh Log Message: Add a new test case for NetBSD specific readonly tests. Add more sub-tests to the export_nbsd test case. In both cases the new -q and -p VAR

CVS commit: src/tests/bin/sh

2018-12-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Dec 12 08:10:39 UTC 2018 Modified Files: src/tests/bin/sh: t_builtins.sh Log Message: Add more subtests to the export and readonly built-in commands test cases. In particular, add a readonly test to detect the bug that was just

CVS commit: src/tests/bin/sh

2018-12-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Dec 12 08:10:39 UTC 2018 Modified Files: src/tests/bin/sh: t_builtins.sh Log Message: Add more subtests to the export and readonly built-in commands test cases. In particular, add a readonly test to detect the bug that was just

CVS commit: src/tests/bin/sh

2018-12-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Dec 5 02:48:05 UTC 2018 Modified Files: src/tests/bin/sh: t_builtins.sh Log Message: Oops, this is 2018, not 2017 ... cut (affects just copyright notice) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/bin/sh

2018-12-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Dec 5 02:48:05 UTC 2018 Modified Files: src/tests/bin/sh: t_builtins.sh Log Message: Oops, this is 2018, not 2017 ... cut (affects just copyright notice) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/bin/sh/dotcmd

2018-12-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Dec 4 09:47:26 UTC 2018 Modified Files: src/tests/bin/sh/dotcmd: scoped_command Log Message: Supply a missing \ ... this missing has meant that these tests have not been testing everything they should have been testing. Never

CVS commit: src/tests/bin/sh/dotcmd

2018-12-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Dec 4 09:47:26 UTC 2018 Modified Files: src/tests/bin/sh/dotcmd: scoped_command Log Message: Supply a missing \ ... this missing has meant that these tests have not been testing everything they should have been testing. Never

CVS commit: src/tests/bin/sh

2018-11-27 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 27 09:59:30 UTC 2018 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Add two new test cases to add more tests for $@ expansions (and a few more subtests in an existing test case). The two new test cases currently

CVS commit: src/tests/bin/sh

2018-11-27 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 27 09:59:30 UTC 2018 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Add two new test cases to add more tests for $@ expansions (and a few more subtests in an existing test case). The two new test cases currently

CVS commit: src/tests/bin/sh

2018-11-27 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 27 09:55:32 UTC 2018 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Add a new test case to test <> (open for input & output), includion a test to make sure that the file doesn't get truncated. Add new subtests to

CVS commit: src/tests/bin/sh

2018-11-27 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 27 09:55:32 UTC 2018 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Add a new test case to test <> (open for input & output), includion a test to make sure that the file doesn't get truncated. Add new subtests to

CVS commit: src/tests/bin/sh

2018-11-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Nov 18 13:41:24 UTC 2018 Modified Files: src/tests/bin/sh: t_patterns.sh Log Message: It turns out there are more cases where escaping of meta-chars was not being done properly (too many different code paths inside sh) so add

CVS commit: src/tests/bin/sh

2018-11-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Nov 18 01:24:44 UTC 2018 Modified Files: src/tests/bin/sh: t_patterns.sh Log Message: Add some tests to detect the presence of a bug in sh reported by Martijn Dekker (private e-mail.) Variable expansions that are double quoted

CVS commit: src/tests/bin/sh

2018-11-13 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Nov 14 02:37:51 UTC 2018 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: Add a test for the bug in PR bin/53712 ( " { } > out " core dump ) Tested with both fixed, and unfixed, versions of /bin/sh (and in posix

CVS commit: src/tests/bin/sh

2018-11-13 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Nov 14 02:37:51 UTC 2018 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: Add a test for the bug in PR bin/53712 ( " { } > out " core dump ) Tested with both fixed, and unfixed, versions of /bin/sh (and in posix

CVS commit: src/tests/bin/sh

2018-07-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 20 18:25:56 UTC 2018 Modified Files: src/tests/bin/sh: t_patterns.sh Log Message: Several improvements to this test... In the filename expansion test, don't insist on testing cases of [^a] anything not an a) (etc) - while

CVS commit: src/tests/bin/sh

2018-07-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 20 18:25:56 UTC 2018 Modified Files: src/tests/bin/sh: t_patterns.sh Log Message: Several improvements to this test... In the filename expansion test, don't insist on testing cases of [^a] anything not an a) (etc) - while

CVS commit: src/tests/bin/sh

2018-04-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 21 21:28:35 UTC 2018 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Add a test case for PR bin/53201 Currently this test case will fail, a fix is coming soon (not worth marking this as an expected failure.)

CVS commit: src/tests/bin/sh

2018-04-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 21 21:28:35 UTC 2018 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Add a test case for PR bin/53201 Currently this test case will fail, a fix is coming soon (not worth marking this as an expected failure.)

CVS commit: src/tests/bin/sh

2017-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Nov 16 19:41:42 UTC 2017 Modified Files: src/tests/bin/sh: t_option.sh Log Message: Add a test case for "set -X". Currently (or when testing any shell that does not support -X) the test will be skipped (also for [m]ksh (but not

CVS commit: src/tests/bin/sh

2017-11-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Nov 16 19:41:42 UTC 2017 Modified Files: src/tests/bin/sh: t_option.sh Log Message: Add a test case for "set -X". Currently (or when testing any shell that does not support -X) the test will be skipped (also for [m]ksh (but not

CVS commit: src/tests/bin/sh

2017-10-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 6 17:05:05 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Add a new sub-test to validate ~ expansions. Currently testing ~user is too much effort to contemplate (other than assuming that it works in

CVS commit: src/tests/bin/sh

2017-10-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 6 17:05:05 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Add a new sub-test to validate ~ expansions. Currently testing ~user is too much effort to contemplate (other than assuming that it works in

CVS commit: src/tests/bin/sh

2017-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Aug 21 00:56:22 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: Make the $'...' syntax tests test what is supposed to work, rather than what I thought was required (just a couple of changes...). To generate

CVS commit: src/tests/bin/sh

2017-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Aug 21 00:56:22 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: Make the $'...' syntax tests test what is supposed to work, rather than what I thought was required (just a couple of changes...). To generate

CVS commit: src/tests/bin/sh

2017-08-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Aug 19 21:18:47 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: Add a few more sub-tests to the $'...' syntax tests. Remove dome debug noise accidentally left in when the test was first added. (This still

CVS commit: src/tests/bin/sh

2017-08-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Aug 19 21:18:47 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: Add a few more sub-tests to the $'...' syntax tests. Remove dome debug noise accidentally left in when the test was first added. (This still

CVS commit: src/tests/bin/sh

2017-08-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Aug 18 21:22:30 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: Add a basic test for $'...' quoting (roughly C ctyle strings). This test will be skipped on shells (such as /bin/sh in -current as of the date

CVS commit: src/tests/bin/sh

2017-08-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Aug 18 21:22:30 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: Add a basic test for $'...' quoting (roughly C ctyle strings). This test will be skipped on shells (such as /bin/sh in -current as of the date

CVS commit: src/tests/bin/sh

2017-07-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jul 26 17:50:21 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: PR bin/48498 PR bin/52426 Add two new sh syntax test cases to check for bug fixes for the parser problems (syntax errors unidentified)

CVS commit: src/tests/bin/sh

2017-07-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jul 26 17:50:21 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: PR bin/48498 PR bin/52426 Add two new sh syntax test cases to check for bug fixes for the parser problems (syntax errors unidentified)

CVS commit: src/tests/bin/sh

2017-07-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jul 15 18:52:21 UTC 2017 Modified Files: src/tests/bin/sh: t_option.sh Log Message: Add some tests for the (likely forthcoming) pipefail option (modelled after than in ksh and bash, and the similar thing in zsh) for which a

CVS commit: src/tests/bin/sh

2017-07-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jul 15 18:52:21 UTC 2017 Modified Files: src/tests/bin/sh: t_option.sh Log Message: Add some tests for the (likely forthcoming) pipefail option (modelled after than in ksh and bash, and the similar thing in zsh) for which a

CVS commit: src/tests/bin/sh

2017-07-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jul 15 18:50:42 UTC 2017 Modified Files: src/tests/bin/sh: t_arith.sh Log Message: Add basic tests for the forthcoming ',' '++' and '--' operators. Until the support for those is committed to /bin/sh (and when testing any other

CVS commit: src/tests/bin/sh

2017-07-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jul 15 18:50:42 UTC 2017 Modified Files: src/tests/bin/sh: t_arith.sh Log Message: Add basic tests for the forthcoming ',' '++' and '--' operators. Until the support for those is committed to /bin/sh (and when testing any other

CVS commit: src/tests/bin/sh

2017-06-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 24 11:09:42 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: Give this test a promotion! This was the test that enabled the sh's STACKSTRNUL() bug to eventually be found. Not any of the test cases

CVS commit: src/tests/bin/sh

2017-06-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 24 11:09:42 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: Give this test a promotion! This was the test that enabled the sh's STACKSTRNUL() bug to eventually be found. Not any of the test cases

CVS commit: src/tests/bin/sh

2017-06-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 24 11:06:17 UTC 2017 Modified Files: src/tests/bin/sh: t_fsplit.sh Log Message: NFC: Added some comments (about other comments) We currently parse var expansions like "${x-"a b c"}" incorrectly according to POSIX (and

CVS commit: src/tests/bin/sh

2017-06-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 24 11:06:17 UTC 2017 Modified Files: src/tests/bin/sh: t_fsplit.sh Log Message: NFC: Added some comments (about other comments) We currently parse var expansions like "${x-"a b c"}" incorrectly according to POSIX (and

CVS commit: src/tests/bin/sh

2017-06-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 16 07:37:41 UTC 2017 Modified Files: src/tests/bin/sh: t_cmdsub.sh Log Message: Add a new test to verify correct operation when a command substitution produces output with a very large number of consecutive embegged \n

CVS commit: src/tests/bin/sh

2017-06-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 16 07:37:41 UTC 2017 Modified Files: src/tests/bin/sh: t_cmdsub.sh Log Message: Add a new test to verify correct operation when a command substitution produces output with a very large number of consecutive embegged \n

CVS commit: src/tests/bin/sh

2017-06-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 16 07:30:32 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: Fix a really stupid typo/thinko that was preventing many of the redirect syntax sub-tests from being attempted. To generate a diff of this

CVS commit: src/tests/bin/sh

2017-06-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 16 07:30:32 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: Fix a really stupid typo/thinko that was preventing many of the redirect syntax sub-tests from being attempted. To generate a diff of this

CVS commit: src/tests/bin/sh

2017-06-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 9 23:49:58 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: Add two new sub-tests to the c_line_wrapping test case. These should detect if the errors that caused MAKDEV to fail and

CVS commit: src/tests/bin/sh

2017-06-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 9 23:49:58 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: Add two new sub-tests to the c_line_wrapping test case. These should detect if the errors that caused MAKDEV to fail and

CVS commit: src/tests/bin/sh

2017-06-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 3 15:15:49 UTC 2017 Modified Files: src/tests/bin/sh: t_fsplit.sh Log Message: Paranoia: add a new test case testing that $(( )) results get split by IFS just the same as any other expansion (split when they should be,

CVS commit: src/tests/bin/sh

2017-06-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 3 15:15:49 UTC 2017 Modified Files: src/tests/bin/sh: t_fsplit.sh Log Message: Paranoia: add a new test case testing that $(( )) results get split by IFS just the same as any other expansion (split when they should be,

CVS commit: src/tests/bin/sh

2017-06-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 3 14:45:59 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Complete the special request by quoting chapter & verse from POSIX as to why ${011} is ${11} and not ${9} (that is, why we interpret it that

CVS commit: src/tests/bin/sh

2017-06-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 3 14:45:59 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Complete the special request by quoting chapter & verse from POSIX as to why ${011} is ${11} and not ${9} (that is, why we interpret it that

CVS commit: src/tests/bin/sh

2017-06-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 3 11:23:01 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: By special request, add a check that ${011} is ${11} not ${9} (etc) and that ${08} is not an error. To generate a diff of this commit: cvs

CVS commit: src/tests/bin/sh

2017-06-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 3 11:23:01 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: By special request, add a check that ${011} is ${11} not ${9} (etc) and that ${08} is not an error. To generate a diff of this commit: cvs

CVS commit: src/tests/bin/sh

2017-06-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 3 10:27:05 UTC 2017 Modified Files: src/tests/bin/sh: t_fsplit.sh Log Message: Add some extra sub-tests checking splitting of ${#var} - just for my piece of mind (to verify I was not breaking anything here.) Also added

CVS commit: src/tests/bin/sh

2017-06-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 3 10:27:05 UTC 2017 Modified Files: src/tests/bin/sh: t_fsplit.sh Log Message: Add some extra sub-tests checking splitting of ${#var} - just for my piece of mind (to verify I was not breaking anything here.) Also added

CVS commit: src/tests/bin/sh

2017-06-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 2 01:50:48 UTC 2017 Modified Files: src/tests/bin/sh: t_arith.sh Log Message: Add a new test case "nested_arith" (that is, things like $(( 1 + $(( 2 )) )) which will currently fail (some of the sub-tests, but this one stops

CVS commit: src/tests/bin/sh

2017-06-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 2 01:50:48 UTC 2017 Modified Files: src/tests/bin/sh: t_arith.sh Log Message: Add a new test case "nested_arith" (that is, things like $(( 1 + $(( 2 )) )) which will currently fail (some of the sub-tests, but this one stops

CVS commit: src/tests/bin/sh

2017-06-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 2 01:48:13 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Add 3 new subtests to the shell_params test case. These test currently broken behaviour (so for now, 3 of 15 subtests will fail). This will

CVS commit: src/tests/bin/sh

2017-06-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 2 01:48:13 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Add 3 new subtests to the shell_params test case. These test currently broken behaviour (so for now, 3 of 15 subtests will fail). This will

CVS commit: src/tests/bin/sh

2017-06-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 2 01:45:06 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: One more weird test of parsing (and correctly understanding) words whose meaning is defined entirely by context. For those who read commit

CVS commit: src/tests/bin/sh

2017-06-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 2 01:45:06 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: One more weird test of parsing (and correctly understanding) words whose meaning is defined entirely by context. For those who read commit

CVS commit: src/tests/bin/sh

2017-06-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 2 01:38:45 UTC 2017 Modified Files: src/tests/bin/sh: t_option.sh Log Message: Guard against EVN being set, and possibly referencing an unset variable, when we are running tests with sh -u To generate a diff of this

CVS commit: src/tests/bin/sh

2017-06-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 2 01:38:45 UTC 2017 Modified Files: src/tests/bin/sh: t_option.sh Log Message: Guard against EVN being set, and possibly referencing an unset variable, when we are running tests with sh -u To generate a diff of this

CVS commit: src/tests/bin/sh

2017-05-29 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon May 29 22:27:47 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Add a new test case wrap_strip based upon strip (ie: cut to start) but with \ newline line continuations inserted at strange places. For the

CVS commit: src/tests/bin/sh

2017-05-29 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon May 29 22:27:47 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Add a new test case wrap_strip based upon strip (ie: cut to start) but with \ newline line continuations inserted at strange places. For the

CVS commit: src/tests/bin/sh

2017-05-27 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat May 27 13:11:50 UTC 2017 Modified Files: src/tests/bin/sh: t_redircloexec.sh Log Message: Skip the test of non-posix behaviour if we are deliberately trying to be posix compatible (POSIXLY_CORRECT is set). To generate a diff

CVS commit: src/tests/bin/sh

2017-05-27 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat May 27 13:11:50 UTC 2017 Modified Files: src/tests/bin/sh: t_redircloexec.sh Log Message: Skip the test of non-posix behaviour if we are deliberately trying to be posix compatible (POSIXLY_CORRECT is set). To generate a diff

  1   2   3   >