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 s

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/date

2020-10-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 30 22:03:36 UTC 2020 Modified Files: src/tests/bin/date: t_date.sh Log Message: Update the test a little so that is possible to pass (if date fails, because of bad or out of range input to parsedate, it cannot be expected to

CVS commit: src/tests/bin/df

2020-08-23 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sun Aug 23 15:51:30 UTC 2020 Modified Files: src/tests/bin/df: t_df.sh Log Message: adjust the number of spaces to match the current df(1) output. fix NetBSD PR/55600 TODO: it should not be dependent on the number of spaces. To ge

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 fi

CVS commit: src/tests/bin/sleep

2019-01-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Jan 21 13:19:18 UTC 2019 Modified Files: src/tests/bin/sleep: t_sleep.sh Log Message: Add subtests to verify that both "sleep 0.2" and "sleep 0,2" work when the locale is ru_RU.UTF-8 (which has ',' as its decimal radix char). Ins

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 b

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 op

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&paste (affects just copyright notice) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/t

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 mi

CVS commit: src/tests/bin/tar

2018-11-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Nov 30 00:53:41 UTC 2018 Modified Files: src/tests/bin/tar: t_tar.sh Log Message: Add base-256 test (Micha Gorny) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/bin/tar/t_tar.sh Please note that dif

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-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 eve

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 mode,

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 al

CVS commit: src/tests/bin/expr

2018-06-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jun 27 17:39:30 UTC 2018 Modified Files: src/tests/bin/expr: t_expr.sh Log Message: Add 3 more expr(1) ATF tests detecting overflow Verify 0 * INT. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/bin/ex

CVS commit: src/tests/bin/expr

2018-06-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jun 27 17:14:47 UTC 2018 Modified Files: src/tests/bin/expr: t_expr.sh Log Message: Add a couple of new ATF expr(1) tests Some of the newly covered test-cases contained regressions. All tests pass. To generate a diff of thi

CVS commit: src/tests/bin/expr

2018-06-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 12 18:54:40 UTC 2018 Modified Files: src/tests/bin/expr: t_expr.sh Log Message: Add 2 new expr(1) ATF tests Assert that -9223372036854775808 % -1 and -9223372036854775808 / -1 return message about overflow / underflow dete

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.) This

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 ord

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 does

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 of

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) reporte

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 reque

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 s

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 direc

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 anci

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 charac

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 comm

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 pkgsrc/pkgtools/cwrappe

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, and

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 way,

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 rdif

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 some

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 b

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 messa

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 commit

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&paste.. to start) but with \ newline line continuations inserted at strange places. For

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 of

CVS commit: src/tests/bin/sh

2017-05-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon May 15 19:53:40 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: More test sub-cases for the dollar_hash ( ${#...} ) test. Upi really (really!) don't want to know! Also, add a comment (in another section) and

CVS commit: src/tests/bin/sh

2017-05-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun May 14 17:28:46 UTC 2017 Modified Files: src/tests/bin/sh: t_redircloexec.sh Log Message: Add a test for opening files with exec "when" in posix mode (close-on-exec should not get set.) While here, remove the (unused) runhelper(

CVS commit: src/tests/bin/sh

2017-05-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun May 14 11:28:49 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Add a test case for the various ways that ${xxx} expansions, which contain a # character, can get parsed (which amounts to 86 extra checks, any A

CVS commit: src/tests/bin/sh

2017-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Mar 20 11:48:41 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: PR bin/52090 - the $* tests are no longer expected to fail. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/tests/bin/sh/t_ex

CVS commit: src/tests/bin/sh

2017-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Mar 20 11:32:51 UTC 2017 Modified Files: src/tests/bin/sh: t_arith.sh Log Message: Add tests for the $(( )) assignment operators PR bin/50958 To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/bin/sh/t_arith

CVS commit: src/tests/bin/sh

2017-03-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 19 20:29:30 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: PR bin/52090 Add 5 new test cases to test various ways that $* can be expanded. Currently 3 of the 5 are marked as "expected to fail" because of

CVS commit: src/tests/bin/sh

2017-03-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 12 00:39:47 UTC 2017 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: Add new test case in to check (coming) bug fix for newly discovered ash based shell bug echo ${unset_var##$(echo a)}$(echo b) should say

CVS commit: src/tests/bin/cat

2016-06-26 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Sun Jun 26 22:50:46 UTC 2016 Modified Files: src/tests/bin/cat: d_align.in d_align.out Log Message: PR bin/4841 was filed regarding the handling of blank lines when cat was invoked with -be, the test case however did not utilise an

CVS commit: src/tests/bin/cat

2016-06-15 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Thu Jun 16 01:04:58 UTC 2016 Modified Files: src/tests/bin/cat: Makefile t_cat.sh Added Files: src/tests/bin/cat: d_se_output.in d_se_output.out Log Message: Add a unit test for PR bin/51250 called se_output. se_output chec

CVS commit: src/tests/bin/sh

2016-05-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 17 09:05:15 UTC 2016 Modified Files: src/tests/bin/sh: t_shift.sh Log Message: Use valid (standard) shell syntax, in anticipation of /bin/sh enforcing it sometime soon (perhaps.) To generate a diff of this commit: cvs rdiff

CVS commit: src/tests/bin/sh

2016-05-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun May 15 15:44:43 UTC 2016 Modified Files: src/tests/bin/sh: t_redircloexec.sh Log Message: Add a new test case to validate N>&N redirect disables close-on-exec. OK christos@ To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src/tests/bin/sh

2016-05-13 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat May 14 00:33:02 UTC 2016 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Add another test for the 48875 fix fallout... To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests/bin/sh/t_redir.sh Please no

CVS commit: src/tests/bin/sh

2016-05-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu May 12 14:25:11 UTC 2016 Modified Files: src/tests/bin/sh: t_arith.sh Log Message: Grunge. I know I fixed this typo before... must have been in a different couy of the test. To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/tests/bin/sh

2016-05-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu May 12 13:34:23 UTC 2016 Modified Files: src/tests/bin/sh: t_arith.sh Log Message: Verify that questionable characters don't have bad associates. ok christos@ To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tes

CVS commit: src/tests/bin/sh

2016-05-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 11 17:43:17 UTC 2016 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Add a test for fd redirections on functions in loops (the etcupdate issue) and also fix a quoting bug which was causing a test to fail, though ATF

CVS commit: src/tests/bin/sh

2016-05-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon May 9 22:34:37 UTC 2016 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: PR bin/48875 PR bin/51123This adds tests more that verify fide descriptor redirection works correctly (including that the bugs reported in t

CVS commit: src/tests/bin/sh

2016-05-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat May 7 23:51:30 UTC 2016 Modified Files: src/tests/bin/sh: t_exit.sh Log Message: Remove the trap_zero__explicit_return test case - it was testing undefined behaviour (and failed with the NetBSD shell, and was marked as expected

CVS commit: src/tests/bin/sh

2016-05-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon May 2 01:47:14 UTC 2016 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: More redirect tests, in particular, tests for redirects to/from file descriptors outside the 0..9 range, and complex fd reassignments. Also

CVS commit: src/tests/bin/sh

2016-04-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Apr 29 18:29:17 UTC 2016 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: use "" so ${TEST_SH} is expanded. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/bin/sh/t_expand.sh Please note th

CVS commit: src/tests/bin/sh

2016-04-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Apr 4 12:40:13 UTC 2016 Modified Files: src/tests/bin/sh: t_cmdsub.sh Log Message: Add a test case for here documents positioned outside `` with the redirect operator inside the ``. Move the one similar test using $( ) in

CVS commit: src/tests/bin/sh

2016-03-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 31 16:22:54 UTC 2016 Modified Files: src/tests/bin/sh: t_wait.sh Log Message: Avoid leaving turds in /tmp. (from kre@) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/bin/sh/t_wait.sh Please note

CVS commit: src/tests/bin/sh

2016-03-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 31 16:22:28 UTC 2016 Modified Files: src/tests/bin/sh: t_set_e.sh Log Message: When embedding a command in a subshell "( ... )" avoid accidentally producing (( (when the cmd starts with a '(' as that as a reserved sequen

CVS commit: src/tests/bin/sh

2016-03-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 31 16:21:52 UTC 2016 Modified Files: src/tests/bin/sh: t_here.sh Log Message: Added lots more end delimiter tests (some weird cases...). Also use printf %s instead of echo, as there are embedded \ chars in some of the st

CVS commit: src/tests/bin/sh

2016-03-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 31 16:21:10 UTC 2016 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: PR bin/51027 - tests for shell positional parameters, including testing that $10 is correctly parsed as ${1}0 and not as ${10}. More than th

CVS commit: src/tests/bin/sh

2016-03-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 31 16:20:40 UTC 2016 Modified Files: src/tests/bin/sh: t_cmdsub.sh Log Message: Added tests collected by Sven Mascheck http://www.in-ulm.de/~mascheck/various/cmd-subst/ which test cases of ')' being embedded in command s

CVS commit: src/tests/bin/sh

2016-03-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 31 16:19:52 UTC 2016 Modified Files: src/tests/bin/sh: t_arith.sh Log Message: Don't confuse more capable shells by writing operator combinations that could be interpreted as something different. That is, for our shell +

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

2016-03-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Mar 27 14:57:50 UTC 2016 Modified Files: src/tests/bin/sh/dotcmd: Makefile scoped_command t_dotcmd.sh Log Message: Allow for testing other than /bin/sh using TEST_SH (from kre@) To generate a diff of this commit: cvs rdiff

CVS commit: src/tests/bin/sh

2016-03-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Mar 27 14:53:17 UTC 2016 Modified Files: src/tests/bin/sh: t_cmdsub.sh Log Message: Finish these tests (or at least, fill in the place holder tests with actual code ... tests are never really finished.) One of these new tes

CVS commit: src/tests/bin/sh

2016-03-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Mar 27 14:52:40 UTC 2016 Modified Files: src/tests/bin/sh: t_here.sh Log Message: PR bin/50993 - lots of new here document tests to validate all of the changes made to fix that PR. LOTS more tests... A few general improve

CVS commit: src/tests/bin/sh

2016-03-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Mar 27 14:50:40 UTC 2016 Modified Files: src/tests/bin/sh: t_wait.sh Log Message: More tests, add protection against shells that allow wait N to wait for the same process over and over again (forever) (???) This test now tak

CVS commit: src/tests/bin/sh

2016-03-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Mar 27 14:50:01 UTC 2016 Modified Files: src/tests/bin/sh: t_evaltested.sh t_fsplit.sh t_set_e.sh t_ulimit.sh t_varquote.sh Log Message: Finish TEST_SH - all tests should support it now. Misc other KNF changes, m

CVS commit: src/tests/bin/sh

2016-03-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Mar 27 14:49:07 UTC 2016 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Avoid relying on the test shell correctly implementing $(( )) in order for some of the redirect tests to terminate. (from kre@) To generate

CVS commit: src/tests/bin/sh

2016-03-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Mar 20 22:57:04 UTC 2016 Modified Files: src/tests/bin/sh: Makefile Added Files: src/tests/bin/sh: t_cmdsub.sh Log Message: new command substitution test from kre To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/tests/bin/sh

2016-03-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Mar 16 15:49:20 UTC 2016 Modified Files: src/tests/bin/sh: Makefile Added Files: src/tests/bin/sh: t_arith.sh t_varval.sh Log Message: New tests from kre To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/tests/bin/sh

2016-03-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Mar 16 21:13:51 UTC 2016 Modified Files: src/tests/bin/sh: Makefile t_redircloexec.sh Log Message: Better tests for redircloexec and add t_shift (from kre) To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/t

CVS commit: src/tests/bin/sh

2016-03-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Mar 16 17:39:12 UTC 2016 Modified Files: src/tests/bin/sh: t_arith.sh Log Message: remove binary test and other cleanups (from kre) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/bin/sh/t_arith.sh P

CVS commit: src/tests/bin/sh

2016-03-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Mar 13 18:55:12 UTC 2016 Modified Files: src/tests/bin/sh: Makefile Added Files: src/tests/bin/sh: t_redircloexec.sh Log Message: Add some redir-close-on-exec tests To generate a diff of this commit: cvs rdiff -u -

CVS commit: src/tests/bin/sh

2016-03-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Mar 12 14:58:03 UTC 2016 Modified Files: src/tests/bin/sh: t_varquote.sh Log Message: Implement TEST_SH for this test, add a test or two, and also some commentary to explain some of the weirdness of shell quoting. (from kre@

CVS commit: src/tests/bin/sh

2016-03-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 10 22:30:57 UTC 2016 Modified Files: src/tests/bin/sh: t_fsplit.sh Log Message: Set TEST_SH To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/bin/sh/t_fsplit.sh Please note that diffs are not publi

CVS commit: src/tests/bin/sh

2016-03-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 8 14:26:54 UTC 2016 Modified Files: src/tests/bin/sh: t_expand.sh t_fsplit.sh t_redir.sh Log Message: Added more test cases, more exhaustive testing. (from kre) To generate a diff of this commit: cvs rdiff -u -r1.5 -r

CVS commit: src/tests/bin/sh

2016-03-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 8 14:26:34 UTC 2016 Modified Files: src/tests/bin/sh: Makefile Log Message: remove old test To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/bin/sh/Makefile Please note that diffs are not public

CVS commit: src/tests/bin/sh

2016-03-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 8 14:26:26 UTC 2016 Added Files: src/tests/bin/sh: t_shift.sh Log Message: Tests for the shift builtin (from kre) To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/tests/bin/sh/t_shift.sh Please note that

CVS commit: src/tests/bin/sh

2016-03-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 8 14:24:50 UTC 2016 Removed Files: src/tests/bin/sh: t_compexit.sh Log Message: This test tests nothing not tested elsewhere, and doesn't do a very good job of that. Bang! (from kre) To generate a diff of this commit:

CVS commit: src/tests/bin/sh

2016-03-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 8 14:24:06 UTC 2016 Modified Files: src/tests/bin/sh: t_wait.sh Log Message: Complete implementation of TEST_SH, use builting kill (which does work, now anyway) rather than working around a defect by using /bin/kill (if

CVS commit: src/tests/bin/sh

2016-03-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 8 14:21:02 UTC 2016 Modified Files: src/tests/bin/sh: t_here.sh Log Message: Cleanup left over (dead) debugging code (from kre) To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/bin/sh/t_here.sh P

CVS commit: src/tests/bin/sh

2016-03-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 8 14:20:22 UTC 2016 Modified Files: src/tests/bin/sh: t_set_e.sh Log Message: Correct one test that (while OK for NetBSD) insisted on behaviour that is not required by the standard. The test now allows either of the two

CVS commit: src/tests/bin/sh

2016-03-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 8 14:19:28 UTC 2016 Modified Files: src/tests/bin/sh: t_option.sh Log Message: Correct the way that TEST_SH is used so that the tests work as intended when TEST_SH is specifies a shell that needs options (like sh -F, or

CVS commit: src/tests/bin/sh

2016-03-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 1 12:39:36 UTC 2016 Modified Files: src/tests/bin/sh: t_exit.sh t_here.sh t_option.sh t_redir.sh Log Message: Improved handling of TEST_SH so that it is possible to define it to the name of a shell, plus options that sh

CVS commit: src/tests/bin/sh

2016-02-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Feb 29 23:52:53 UTC 2016 Modified Files: src/tests/bin/sh: t_here.sh Log Message: more tests from kre To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/bin/sh/t_here.sh Please note that diffs are not p

CVS commit: src/tests/bin/sh

2016-02-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Feb 24 14:42:50 UTC 2016 Modified Files: src/tests/bin/sh: t_wait.sh Log Message: uncomment clean up To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/bin/sh/t_wait.sh Please note that diffs are not pu

CVS commit: src/tests/bin/sh

2016-02-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Feb 24 14:42:06 UTC 2016 Modified Files: src/tests/bin/sh: t_exit.sh t_wait.sh Log Message: Test improvements from kre To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/bin/sh/t_exit.sh \ src/tests/

CVS commit: src/tests/bin/sh

2016-02-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Feb 23 16:20:42 UTC 2016 Modified Files: src/tests/bin/sh: Makefile Added Files: src/tests/bin/sh: t_option.sh Log Message: Add t_option, from kre (with minor edits from me) To generate a diff of this commit: cvs r

CVS commit: src/tests/bin/sh

2016-02-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Feb 23 14:21:37 UTC 2016 Modified Files: src/tests/bin/sh: t_redir.sh Log Message: Add new redirection test, from kre To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/bin/sh/t_redir.sh Please note tha

CVS commit: src/tests/bin/sh

2016-02-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Feb 22 20:02:30 UTC 2016 Modified Files: src/tests/bin/sh: t_expand.sh Log Message: PR/43469 has been fixed To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/bin/sh/t_expand.sh Please note that diffs a

CVS commit: src/tests/bin/sh

2016-02-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Feb 22 19:52:03 UTC 2016 Modified Files: src/tests/bin/sh: Makefile Added Files: src/tests/bin/sh: t_redir.sh Log Message: Add new test To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/bin/sh/M

  1   2   >