summaryrefslogtreecommitdiff
path: root/Test/ztst.zsh
AgeCommit message (Collapse)AuthorFilesLines
2023-12-1352393: fix tests on Solaris by omitting -a option to diff as it is not ↵Oliver Kiddle1-1/+3
supported there
2022-09-2650662: unset LC_* for all the testsJun-ichi Takimoto1-13/+3
2022-09-1550629: do not use egrep in testsJun-ichi Takimoto1-0/+15
2022-04-1450046: ztst.zsh: export LANG to child zshJun-ichi Takimoto1-0/+3
2022-04-1250013: skip %test if a chunk in %prep failsJun-ichi Takimoto1-15/+19
Only %test is skipped if a chunk in %prep returns nonzero. Both %test and %clean are skipped if ZTST_unimplemented is set in a chunk of %prep. ZTST_cleanup is run in both cases.
2022-04-1249996 (Peter) + 50012: add ZTST_continueJun-ichi Takimoto1-7/+21
2022-03-3049908: reset LC_CTYPE to C during testsJun-ichi Takimoto1-2/+1
and do not export MODULE_PATH since child zsh will not import it
2021-04-1848560: add TYPESET_TO_UNSET option to remove initialization of parametersBart Schaefer1-1/+1
Changes typeset such that ${newparam-notset} yields "notset" and "typeset -p newparam" does not show an assignment to the parameter. This is similar to the default behavior of bash and ksh, with minor differences in typeset output. Also add tests for some POSIX incompatibilities plus minor changes for test harness robustness.
2020-06-2546102: test harness: Make the XPass message distinct from the Fail message.Daniel Shahaf1-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.
2020-01-0145169/0001: In the test suite, allow test cases to be marked as expected to ↵Daniel Shahaf1-2/+28
fail. See next commit for a use-case.
2019-03-01unposted: ztst.zsh: fix a typoJun-ichi Takimoto1-1/+1
2018-04-2542722: Replace ed with dc in fg/bg tests.Peter Stephenson1-8/+7
This should be even simpler. Also more fix ups for failed pattern diffs.
2018-04-2542714: Add fg and bg tests.Peter Stephenson1-2/+21
Use ed to get minimal user interaction without needing advanced terminal handling. Improve test output of failures of pattern differences.
2017-02-20use "diff -a" in case special characters were written to the test outputBarton E. Schaefer1-1/+1
2016-12-0540102: Use subdirectory for test I/O filesPeter Stephenson1-7/+11
2016-06-2538652: test harness: Emit unified diffs instead of context diffsDaniel Shahaf1-3/+3
2015-11-2137181: consistent use of zmodload and corresponding ZTST_unimplemented or ↵Barton E. Schaefer1-1/+1
ZTST_skip
2015-07-1035760: Add ZTST_skip to test systemPeter Stephenson1-0/+11
2014-06-1332768 with further modifications: LOCAL_LOOPS option.Peter Stephenson1-1/+5
2011-12-0129924: add ability to match test output using patternsPeter Stephenson1-9/+62
2007-12-2524316: count skipped tests differently from successes and failures.Clint Adams1-0/+1
2007-12-1824289 plus Ismail's suggestion 24290: count test scripts succeeded and failedPeter Stephenson1-1/+1
2007-05-2923486: use {fd} syntax to get fd's for testsPeter Stephenson1-5/+9
2006-11-2823022: don't allow WORDCHARS to be exported to testsPeter Stephenson1-0/+3
2006-09-23revert 22758 and add LC_NUMERIC and LC_MESSAGESAndrey Borzenkov1-0/+2
to test harness instead
2006-07-1222550: put "exec" testsPeter Stephenson1-18/+29
in subshells and allow substitution on test output to occur after the test.
2005-10-1121862/21863: GLOB_SUBST shouldn't swallow up backslashes in parameterPeter Stephenson1-1/+1
substitutions that don't match anything.
2005-08-09Got rid of trap call for now.Wayne Davison1-2/+2
2005-01-1320698: Fix tail for POSIX conformancePeter Stephenson1-3/+27
2005-01-1220692: unset POSIXLY_CORRECT in test.Peter Stephenson1-0/+3
unposted: minor comment change in _perforce
2004-07-2620198: fix TRAPEXIT.Peter Stephenson1-0/+2
2002-08-0517502: Test changes for xtrace in 17492.Peter Stephenson1-14/+24
`F:' code indicates text to display in event of error.
2001-07-0515261: remaining easy option testsPeter Stephenson1-0/+2
2001-06-2615099: rudimental support for skipping unimplemented testsAndrey Borzenkov1-5/+14
2001-05-2214430: handle cleanup better in Test/ztst.zshPeter Stephenson1-12/+35
2001-05-20Handle line wrapping in ZTST_hashmark.Bart Schaefer1-0/+1
2001-05-18More options tests and a ztst.zsh fix for ksharraysPeter Stephenson1-2/+3
2001-05-18Tweak zmodload tests, fix fd 8.Bart Schaefer1-1/+1
2001-05-1114313: New options testsPeter Stephenson1-1/+1
2001-04-03(13892) fixes for fpaths and completion matchingSven Wischnowsky1-0/+1
2001-04-02after-move cleanupSven Wischnowsky1-1/+2
2001-03-30Print hash marks for progress.Bart Schaefer1-0/+4
2001-03-25stop LC_COLLATE reordering things in testsPeter Stephenson1-0/+1
2001-03-25More minor test fixes.Bart Schaefer1-0/+2
2000-06-0711711: Andrej: diff output workaroundPeter Stephenson1-2/+15
2000-05-0311096: Use C locale for testsPeter Stephenson1-0/+5
2000-04-19Test additions; 3.1.7-pre-1Peter Stephenson1-1/+2
2000-04-0610547: (#s) and (#e) pattern assertionsPeter Stephenson1-29/+64
1999-12-07Initial revisionTanaka Akira1-0/+316