Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add PM_DECLARED and PM_DECLAREDNULL parameter flags. | Bart Schaefer | 2021-04-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This addresses the issue that "typeset foo" creates $foo set to an empty string, which differs from typeset handling in bash and ksh. It does this by concealing the internal value rather than alter the way internal values are defaulted. This imposes the following changes: A typeset variable with no assignment triggers NO_UNSET warnings when the name is used in parameter expansion or math. The typeset -AEFHLRTZailux options are applied upon the first assignment to the variable. Explicit unset before the first assignment discards all of those properties. If any option is applied to an existing name, historic behavior is unchanged. Consequent to the foregoing, the (t) parameter expansion flag prints nothing until after the first assignment, and the (i) and (I) subscript flags also print nothing. The bash behavior of "unset foo; typeset -p foo" is NOT used. This is called out as an emulation distinction, not a change. The test cases have not been updated, so several now fail. The test harness has been updated to declare default values. | ||||
* | 46102: test harness: Make the XPass message distinct from the Fail message. | Daniel Shahaf | 2020-06-25 | 1 | -1/+14 |
| | | | | | | | | | | | | | | | | | The new output is: ./Test/B02typeset.ztst: starting. Test ./Test/B02typeset.ztst was expected to fail, but passed. Was testing: this is the description that's after the colon on in the ztst file ./Test/B02typeset.ztst: test XPassed. ************************************** 0 successful test scripts, 1 failure, 0 skipped ************************************** make[1]: *** [Makefile:190: check] Error 1 make: *** [Makefile:263: check] Error 2 The new function is deliberately very similar to ZTST_testfailed() just above it. | ||||
* | 45169/0001: In the test suite, allow test cases to be marked as expected to ↵ | Daniel Shahaf | 2020-01-01 | 1 | -2/+28 |
| | | | | | | fail. See next commit for a use-case. | ||||
* | unposted: ztst.zsh: fix a typo | Jun-ichi Takimoto | 2019-03-01 | 1 | -1/+1 |
| | |||||
* | 42722: Replace ed with dc in fg/bg tests. | Peter Stephenson | 2018-04-25 | 1 | -8/+7 |
| | | | | | | This should be even simpler. Also more fix ups for failed pattern diffs. | ||||
* | 42714: Add fg and bg tests. | Peter Stephenson | 2018-04-25 | 1 | -2/+21 |
| | | | | | | | Use ed to get minimal user interaction without needing advanced terminal handling. Improve test output of failures of pattern differences. | ||||
* | use "diff -a" in case special characters were written to the test output | Barton E. Schaefer | 2017-02-20 | 1 | -1/+1 |
| | |||||
* | 40102: Use subdirectory for test I/O files | Peter Stephenson | 2016-12-05 | 1 | -7/+11 |
| | |||||
* | 38652: test harness: Emit unified diffs instead of context diffs | Daniel Shahaf | 2016-06-25 | 1 | -3/+3 |
| | |||||
* | 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ↵ | Barton E. Schaefer | 2015-11-21 | 1 | -1/+1 |
| | | | | ZTST_skip | ||||
* | 35760: Add ZTST_skip to test system | Peter Stephenson | 2015-07-10 | 1 | -0/+11 |
| | |||||
* | 32768 with further modifications: LOCAL_LOOPS option. | Peter Stephenson | 2014-06-13 | 1 | -1/+5 |
| | |||||
* | 29924: add ability to match test output using patterns | Peter Stephenson | 2011-12-01 | 1 | -9/+62 |
| | |||||
* | 24316: count skipped tests differently from successes and failures. | Clint Adams | 2007-12-25 | 1 | -0/+1 |
| | |||||
* | 24289 plus Ismail's suggestion 24290: count test scripts succeeded and failed | Peter Stephenson | 2007-12-18 | 1 | -1/+1 |
| | |||||
* | 23486: use {fd} syntax to get fd's for tests | Peter Stephenson | 2007-05-29 | 1 | -5/+9 |
| | |||||
* | 23022: don't allow WORDCHARS to be exported to tests | Peter Stephenson | 2006-11-28 | 1 | -0/+3 |
| | |||||
* | revert 22758 and add LC_NUMERIC and LC_MESSAGES | Andrey Borzenkov | 2006-09-23 | 1 | -0/+2 |
| | | | | to test harness instead | ||||
* | 22550: put "exec" tests | Peter Stephenson | 2006-07-12 | 1 | -18/+29 |
| | | | | | in subshells and allow substitution on test output to occur after the test. | ||||
* | 21862/21863: GLOB_SUBST shouldn't swallow up backslashes in parameter | Peter Stephenson | 2005-10-11 | 1 | -1/+1 |
| | | | | substitutions that don't match anything. | ||||
* | Got rid of trap call for now. | Wayne Davison | 2005-08-09 | 1 | -2/+2 |
| | |||||
* | 20698: Fix tail for POSIX conformance | Peter Stephenson | 2005-01-13 | 1 | -3/+27 |
| | |||||
* | 20692: unset POSIXLY_CORRECT in test. | Peter Stephenson | 2005-01-12 | 1 | -0/+3 |
| | | | | unposted: minor comment change in _perforce | ||||
* | 20198: fix TRAPEXIT. | Peter Stephenson | 2004-07-26 | 1 | -0/+2 |
| | |||||
* | 17502: Test changes for xtrace in 17492. | Peter Stephenson | 2002-08-05 | 1 | -14/+24 |
| | | | | `F:' code indicates text to display in event of error. | ||||
* | 15261: remaining easy option tests | Peter Stephenson | 2001-07-05 | 1 | -0/+2 |
| | |||||
* | 15099: rudimental support for skipping unimplemented tests | Andrey Borzenkov | 2001-06-26 | 1 | -5/+14 |
| | |||||
* | 14430: handle cleanup better in Test/ztst.zsh | Peter Stephenson | 2001-05-22 | 1 | -12/+35 |
| | |||||
* | Handle line wrapping in ZTST_hashmark. | Bart Schaefer | 2001-05-20 | 1 | -0/+1 |
| | |||||
* | More options tests and a ztst.zsh fix for ksharrays | Peter Stephenson | 2001-05-18 | 1 | -2/+3 |
| | |||||
* | Tweak zmodload tests, fix fd 8. | Bart Schaefer | 2001-05-18 | 1 | -1/+1 |
| | |||||
* | 14313: New options tests | Peter Stephenson | 2001-05-11 | 1 | -1/+1 |
| | |||||
* | (13892) fixes for fpaths and completion matching | Sven Wischnowsky | 2001-04-03 | 1 | -0/+1 |
| | |||||
* | after-move cleanup | Sven Wischnowsky | 2001-04-02 | 1 | -1/+2 |
| | |||||
* | Print hash marks for progress. | Bart Schaefer | 2001-03-30 | 1 | -0/+4 |
| | |||||
* | stop LC_COLLATE reordering things in tests | Peter Stephenson | 2001-03-25 | 1 | -0/+1 |
| | |||||
* | More minor test fixes. | Bart Schaefer | 2001-03-25 | 1 | -0/+2 |
| | |||||
* | 11711: Andrej: diff output workaround | Peter Stephenson | 2000-06-07 | 1 | -2/+15 |
| | |||||
* | 11096: Use C locale for tests | Peter Stephenson | 2000-05-03 | 1 | -0/+5 |
| | |||||
* | Test additions; 3.1.7-pre-1 | Peter Stephenson | 2000-04-19 | 1 | -1/+2 |
| | |||||
* | 10547: (#s) and (#e) pattern assertions | Peter Stephenson | 2000-04-06 | 1 | -29/+64 |
| | |||||
* | Initial revision | Tanaka Akira | 1999-12-07 | 1 | -0/+316 |