Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Change default grep back to GNU version. BSD grep can be built with the | gabor | 2010-08-23 | 2 | -2/+2 |
| | | | | | | | | WITH_BSD_GREP knob. - Bump __FreeBSD_version Requested by: dougb Approved by: delphij (mentor) | ||||
* | sh: Remove remnants of '!!' to negate pattern. | jilles | 2010-08-22 | 1 | -0/+28 |
| | | | | | | | | This Almquist extension was disabled long ago. In pathname generation, components starting with '!!' were treated as containing wildcards, causing unnecessary readdir (which could fail, causing pathname generation to fail while it should not). | ||||
* | sh: Test that all bytes from 128 to 255 can be used in IFS. | jilles | 2010-08-22 | 1 | -0/+21 |
| | | | | | | To avoid multibyte issues, this test forces ISO8859-1 charset. This also passes on stable/8. | ||||
* | sh: Add a test for breaking from a loop outside the current function. | jilles | 2010-08-22 | 1 | -0/+15 |
| | | | | It is unwise to rely on this but I'd like to know if this would break. | ||||
* | Update for the new tests. | rpaulo | 2010-08-21 | 1 | -263/+199 |
| | | | | Sponsored by: The FreeBSD Foundation | ||||
* | More tests. | pjd | 2010-08-18 | 15 | -135/+120 |
| | |||||
* | sh: Add a test for break from a trap action. | jilles | 2010-08-18 | 2 | -0/+13 |
| | |||||
* | Add simple test to check the functioning of retrieval of | kib | 2010-08-17 | 2 | -0/+65 |
| | | | | | | | | pagesize()/pagesizes() after change to use aux vector. Note that public function getosreldate() is different from libc-internal __getosreldate() and does not use aux to fetch osreldate value. MFC after: 1 month | ||||
* | More tests, especially for lchown(2). | pjd | 2010-08-17 | 6 | -13/+54 |
| | |||||
* | sh: Reduce unnecessary testsuite failures with other shells. | jilles | 2010-08-16 | 4 | -6/+6 |
| | |||||
* | sh: Split off a more dubious test from parser/heredoc2.0. | jilles | 2010-08-16 | 2 | -5/+20 |
| | |||||
* | sh: Get rid of unnecessary non-standard empty lists. | jilles | 2010-08-16 | 10 | -0/+12 |
| | | | | | | | | POSIX does not allow constructs like: if cmd; then fi { } Add a colon dummy command, except in a test that verifies that such empty lists do not cause crashes when used as a function definition. | ||||
* | Finish renaming fstest to pjdfstest. | pjd | 2010-08-15 | 6 | -11/+11 |
| | |||||
* | Give fstest a more unique name: pjdfstest. | pjd | 2010-08-15 | 211 | -0/+0 |
| | | | | | It is released from time to time and used outside FreeBSD, so it is good to have a name one can google. | ||||
* | Update copyright years. | pjd | 2010-08-15 | 2 | -2/+2 |
| | |||||
* | More tests. | pjd | 2010-08-15 | 1 | -400/+419 |
| | |||||
* | sh: Fix break/continue/return sometimes not skipping the rest of dot script. | jilles | 2010-08-15 | 2 | -0/+33 |
| | | | | | | | | | | | | | In our implementation and most others, a break or continue in a dot script can break or continue a loop outside the dot script. This should cause all further commands in the dot script to be skipped. However, cmdloop() did not know about this and continued to parse and execute commands from the dot script. As described in the man page, a return in a dot script in a function returns from the function, not only from the dot script. There was a similar issue as with break and continue. In various other shells, the return appears to return from the dot script, but POSIX seems not very clear about this. | ||||
* | sh: Test that all bytes from 1 to 127 can be used in IFS. | jilles | 2010-08-15 | 1 | -0/+24 |
| | | | | This also passes on stable/8. | ||||
* | More tests (especially for lchmod(2)), less code duplication. | pjd | 2010-08-15 | 9 | -156/+285 |
| | |||||
* | - Use loops to avoid code duplication. | pjd | 2010-08-13 | 3 | -133/+101 |
| | | | | - More tests. | ||||
* | More tests. | pjd | 2010-08-12 | 2 | -101/+63 |
| | |||||
* | Portable Makefile. | pjd | 2010-08-12 | 1 | -20/+21 |
| | |||||
* | Fix copy&pasted code - we want to create character device here. | pjd | 2010-08-12 | 1 | -4/+4 |
| | |||||
* | - Use loops where possible to avoid code duplication. | pjd | 2010-08-11 | 14 | -733/+208 |
| | | | | | - Don't pass uid and gid to create_file() if not needed. - More tests. | ||||
* | Allow to specify uid, gid and mode for create_file(). | pjd | 2010-08-11 | 1 | -3/+13 |
| | |||||
* | Consistently set us to be SPC3 for our inquiry data. | mjacob | 2010-08-11 | 2 | -18/+73 |
| | | | | | | | | | For mptest, add delays to I/O that simulate real disks better. This also allows us to simulate what happens when a device goes away with active transactions. It's pretty spectacular. Sponsored by: Panasas MFC after: 1 month | ||||
* | More and more tests. | pjd | 2010-08-11 | 8 | -626/+583 |
| | |||||
* | Move create_file() to misc.sh, as it is going to be used in more places. | pjd | 2010-08-11 | 1 | -0/+35 |
| | |||||
* | Make use of recently added dirgen_max() and namegen_max() to implement | pjd | 2010-08-11 | 26 | -266/+356 |
| | | | | ENAMETOOLONG checks. | ||||
* | Instead of hardcoding {NAME_MAX} as 255 and {PATH_MAX} as 1024 obtain those from | pjd | 2010-08-11 | 1 | -7/+46 |
| | | | | | pathconf(2) and properly generate too long file names. This should fix ENAMETOOLONG checks on Linux. | ||||
* | More tests, mostly related to devices and sockets. | pjd | 2010-08-10 | 12 | -217/+666 |
| | |||||
* | sh: Fix heap-based buffer overflow in pathname generation. | jilles | 2010-08-10 | 1 | -0/+29 |
| | | | | | | | | | | | | | | The buffer for generated pathnames could be too small in some cases. It happened to be always at least PATH_MAX long, so there was never an overflow if the resulting pathnames would be usable. This bug may be abused if a script subjects input from an untrusted source to pathname generation, which a bad idea anyhow. Most shell scripts do not work on untrusted data. secteam@ says no advisory is necessary. PR: bin/148733 Reported by: Changming Sun snnn119 at gmail com MFC after: 10 days | ||||
* | Linux has no strlcpy(). | pjd | 2010-08-09 | 1 | -2/+4 |
| | |||||
* | Fix bind(2) and connect(2) support on Solaris. | pjd | 2010-08-09 | 1 | -10/+8 |
| | |||||
* | Fix file system type detection on Solaris. | pjd | 2010-08-09 | 1 | -1/+1 |
| | |||||
* | Small tweaks. | pjd | 2010-08-09 | 2 | -8/+8 |
| | |||||
* | No need to use grep to check if path start with /. | pjd | 2010-08-09 | 1 | -4/+6 |
| | | | | Suggested by: ed | ||||
* | Add a multipath oriented test. | mjacob | 2010-08-09 | 3 | -1/+436 |
| | |||||
* | sh: Add more testcases for ${var:-word}. | jilles | 2010-08-08 | 1 | -0/+38 |
| | | | | | | Whether POSIX requires these is unclear. They pass with 8-stable sh as well. | ||||
* | Various cleanups, mostly to make the test work on FreeBSD/ZFS. | pjd | 2010-08-06 | 48 | -904/+1253 |
| | |||||
* | ${GREP} can only be used after loading 'conf'. | pjd | 2010-08-06 | 1 | -1/+1 |
| | |||||
* | Don't use egrep directly - use ${GREP}. | pjd | 2010-08-06 | 1 | -3/+3 |
| | |||||
* | Check first todo() argument against operating system name and operating system | pjd | 2010-08-06 | 1 | -2/+1 |
| | | | | name plus file system name. | ||||
* | For FreeBSD and Linux use awk's toupper() function. | pjd | 2010-08-06 | 1 | -2/+2 |
| | | | | Suggested by: ed | ||||
* | Convert file system type to upper case. | pjd | 2010-08-06 | 1 | -2/+2 |
| | |||||
* | Add tests for mknod(2). | pjd | 2010-08-06 | 12 | -0/+408 |
| | | | | | | Submitted by: Jan Senolt <senoltj@centrum.cz> Submitted by: Milan Cermak <Milan.Cermak@Sun.COM> Polished by: pjd | ||||
* | Add mknod(2) support. | pjd | 2010-08-06 | 1 | -0/+33 |
| | | | | | Submitted by: Jan Senolt <senoltj@centrum.cz> Submitted by: Milan Cermak <Milan.Cermak@Sun.COM> | ||||
* | Sort includes. | pjd | 2010-08-06 | 1 | -6/+7 |
| | |||||
* | open(2) returns EOPNOTSUPP when trying to open a socket. | pjd | 2010-08-06 | 1 | -0/+17 |
| | |||||
* | Test for EACCES also when opening FIFO or directory. | pjd | 2010-08-06 | 1 | -26/+124 |
| |