Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-25 | remove systrace | Ted Unangst | |
2016-03-21 | More ksh POSIX compliance fixes by Martijn Dekker: | tb | |
This simple patch makes the 'command' builtin POSIX-compliant and consistent with other current shells. It fixes two things: a) 'command -v' does not find shell reserved words (a.k.a. keywords). For instance, 'command -v select' outputs nothing but should output 'select'. b) 'command -pv' always outputs the path of an external command, even if 'command -p' would execute a builtin. For instance, 'command -p kill' executes the 'kill' builtin, as expected, but 'command -pv kill' outputs '/bin/kill'. The '-v' option is supposed to reflect what would actually be executed, so 'command -pv kill' should output 'kill'. The -p option sets the PATH to a default system value before doing the search, but that has no bearing on the fact that builtins take precedence over external commands. The patch fixes both issues for 'command' without affecting the behaviour of the ksh-specific builtin 'whence', which is handled by the same C function. Regression test added to obsd-regress.t. Issues found and fixed by Martijn Dekker, ok millert@ | |||
2016-03-05 | POSIX-compliant behavior of "set -u" regarding "$*" and "$@" specials | Dmitrij Czarkoff | |
All work done by Martijn Dekker OK millert@ | |||
2016-03-04 | don't parse (...|...) patterns in variable substitution inside double quotes | Dmitrij Czarkoff | |
fixes posix compatibility issue OK millert@, nicm@, otto@ | |||
2016-03-04 | rename xxx-what-do-you-call-this-1 to qouted-brace-expansion-1 | Dmitrij Czarkoff | |
suggestion from beck@, OK millert@, otto@ | |||
2016-01-16 | better mockup for promptlen() | Ingo Schwarze | |
2016-01-12 | The ksh(1) vi editing mode code is much harder to understand than | Ingo Schwarze | |
the emacs editing mode code, so add a testsuite before touching it. To avoid having to deal with the horrendous low-level terminal handling and high-level command execution code, write the tests in unit test style rather than in integration test style, by providing minimal glue to run vi.c stand-alone. In case relevant internal interfaces in sh.c, edit.c, and friends are changed, the glue may need adjustment. Not testing completion and history at this time, only line editing. | |||
2016-01-10 | some UTF-8 tests | Ingo Schwarze | |
2015-12-15 | test some valid UTF-8, but in the C locale | Ingo Schwarze | |
2015-12-15 | test encoding of a few invalid UTF-8 sequences | Ingo Schwarze | |
2015-12-15 | test vis(3)ing | Ingo Schwarze | |
2015-12-15 | tests for the following keywords: cwd login group rgroup ruser user | Ingo Schwarze | |
2015-12-15 | regression suite for the "command" keyword | Ingo Schwarze | |
2015-10-18 | Need native-pledge for id. | Doug Hogan | |
2015-09-13 | Rename __sysctl syscall to just sysctl, as the userland wrapper is no longer | Philip Guenther | |
necessary ok deraadt@ jsing@ | |||
2015-07-30 | Add regress test to exercise octal expansion (via blackslash) in | Todd C. Miller | |
PS1 and PS2. OK deraadt@ | |||
2015-06-15 | hook up chmod | Florian Obser | |
2015-06-15 | oops | Florian Obser | |
2015-06-15 | First stab at regression test for chmod (and chflags, chgrp and chown | Florian Obser | |
which are the same binary). This is supposed to exercise all syscalls paths through those tools and not a comprehensive regression test. | |||
2015-01-09 | Add test suites for SHA-224 and SHA-384. | Lawrence Teo | |
Relevant lines from testsuite.sha224 were verified against the test vectors in RFC 3874, while testsuite.384 was verified against https://www.cosic.esat.kuleuven.be/nessie/testvectors/hash/sha/Sha-2-384.unverified.test-vectors ok millert@ | |||
2014-11-25 | don't fail, even if running as root. | Daniel Dickman | |
idea from and ok ingo@ | |||
2014-07-14 | Add sendsyslog too, and sort | Philip Guenther | |
2014-07-14 | Update systrace policies for arc4random changes | Philip Guenther | |
2014-03-26 | Remove sum test since sum(1) is gone; add sha512 test | Lawrence Teo | |
2014-03-20 | Enable ps regression tests | Lawrence Teo | |
2014-03-20 | Basic tests for ps(1) to check for valid/invalid keywords | Lawrence Teo | |
2013-12-02 | Move ksh test files into regress. | Todd C. Miller | |
2013-06-17 | Irony: forgetting to link in the 'ln' tests | Philip Guenther | |
2013-06-09 | Add test for "true && true && false" and "set -e". | Todd C. Miller | |
2013-06-08 | POSIX specifies that for an AND/OR list, only the last command's | Todd C. Miller | |
exit status matters for "set -e". OK espie@ | |||
2013-06-07 | stuff that currently doesn't match what posix says, naddy agrees | Marc Espie | |
2013-03-12 | Add support for the -L and -P options. | Philip Guenther | |
Based on a patch from Kent R. Spillner (kspillner (at) acm.org) ok jmc@ millert@ | |||
2012-08-21 | Use $(.CURDIR) to locate source files so tests still work with 'make | Matthew Dempsky | |
obj'. ok nicm | |||
2011-07-09 | Move test(1) test into regress. | Nicholas Marriott | |
ok deraadt | |||
2010-08-08 | remove rmd160 and add cksum, sha256, and sum while here | David Krause | |
phessler@ deraadt@ | |||
2010-03-24 | tests for ${name#pat} and ${name%pat} issue. | Federico G. Schwindt | |
millert@ ok'd a previous version. | |||
2009-01-29 | pass "xerrok" status across the execution call stack to more closely | Jared Yanovich | |
match what both POSIX and ksh.1 already describe in regards to set -e/errexit's behavior in determining when to exit from nonzero return values. specifically, the truth values tested as operands to `&&' and `||', as well as the resulting compound expression itself, along with the truth value resulting from a negated command (i.e. a pipeline prefixed `!'), should not make the shell exit when -e is in effect. issue reported by matthieu. testing matthieu, naddy. ok miod (earlier version), otto. man page ok jmc. | |||
2006-08-10 | failing qt4 test case. | Marc Espie | |
2006-07-21 | Test that "cpio -o" does not segfault when called with no input. | Ray Lai | |
2006-01-25 | append without a file list should not corrupt a tar file; | Markus Friedl | |
report Rainer Giedat; ok millert@ | |||
2005-06-13 | Add regression test for writing old-style tar headers containing names | Otto Moerbeek | |
that completely fill the header field. WIth help from jaredy@ | |||
2005-04-30 | Test various edge cases reading ustar archives. | Otto Moerbeek | |
2005-04-15 | t1: only do a short listing, t2: test for tar.c, rev 1.36 | Markus Friedl | |
2005-04-14 | Initial pax regression tests. OK otto | Chad Loder | |
2004-08-07 | update policy for libc changes (getrlimit) | marius eriksen | |
found by and ok david@ | |||
2004-01-15 | add simple systrace regresssion test | Nikolay Sturm | |
from provos@/NetBSD ok henning@ | |||
2003-12-15 | Regression test for PR 2450. | Otto Moerbeek | |
2003-02-09 | a common construct that ksh fails. | Marc Espie | |
2002-09-02 | Rename a bunch of the old bsd.regress.mk variables into the new ones. | Anil Madhavapeddy | |
ok art@ | |||
2002-02-27 | Add regress test for ksh bug, crash trigger provided by nino@. ok espie@ | Daniel Hartmeier | |