summaryrefslogtreecommitdiffstats
path: root/tests.sh
Commit message (Collapse)AuthorAgeFilesLines
...
* Add some tests for the operators themselvesTavian Barnes2017-02-111-10/+50
|
* Add tests for bfs's flexible command line parsingTavian Barnes2017-02-101-0/+25
|
* tests: Don't require bash associative arraysTavian Barnes2017-02-101-22/+11
| | | | That's a bash 4 feature, while macOS is stuck on bash 3.
* bftw: Make the nameoff of "///" point to "/"Tavian Barnes2017-02-091-1/+2
| | | | This simplifies a few things such as -name handling for ///.
* Give the test cases human-readable namesTavian Barnes2017-02-091-312/+433
|
* Don't close stdin for -ok or -okdirTavian Barnes2017-02-091-6/+7
| | | | Turns out it violates POSIX, even though GNU find does it.
* Add support for -x?type with multiple typesTavian Barnes2017-02-081-1/+11
| | | | This functionality is already part of GNU findutils git.
* Fix a memory leak parsing -printfTavian Barnes2017-02-061-1/+7
|
* tests.sh: Set the umask before creating the test treesTavian Barnes2017-02-061-0/+1
|
* Make -quit happen immediately, not at the end of the current expressionTavian Barnes2017-02-051-1/+11
|
* bftw: Compute nameoff correctly for the root in BFTW_DEPTH modeTavian Barnes2017-02-051-1/+5
|
* Implement -printf/-fprintfTavian Barnes2017-02-051-9/+42
| | | | | Based on a patch by Fangrui Song <i@maskray.me>. Closes #16.
* Implement -nouser and -nogroupTavian Barnes2017-02-041-1/+18
|
* tests: Add a test for -inumTavian Barnes2017-01-031-1/+8
|
* tests: Add tests for -quitTavian Barnes2017-01-021-1/+21
|
* Set _FILE_OFFSET_BITS to 64Tavian Barnes2016-12-211-1/+6
| | | | | With the new support for -size n[TP], this is needed to avoid overflow on 32-bit platforms.
* Implement -mnewerTavian Barnes2016-12-201-1/+11
|
* Support -[gu]id NAME like BSD findTavian Barnes2016-12-201-1/+11
|
* Implement BSD find's -depth NTavian Barnes2016-12-181-1/+31
|
* tests: Allow limiting the testsuite to POSIX, BSD, GNU, and bfs-specific ↵Tavian Barnes2016-12-181-11/+128
| | | | features
* tests.sh: Let the bfs binary be specified on the command lineTavian Barnes2016-12-181-21/+35
|
* Implement -regex, -iregex, and -regextype/-ETavian Barnes2016-12-181-1/+29
|
* tests: Fix failure when /tmp is a symlink.Tavian Barnes2016-12-081-1/+4
|
* tests: Don't use install -DTavian Barnes2016-12-081-7/+14
| | | | -D is a GNU-ism that doesn't work on BSD or macOS.
* tests: Don't check -size for directoriesTavian Barnes2016-12-051-3/+4
|
* tests: Don't check -links for directoriesTavian Barnes2016-12-051-3/+3
|
* Allow // to be different from /Tavian Barnes2016-11-241-3/+2
| | | | | | POSIX says that // may be resolved in an implementation-defined way (generally, to access network shares). So don't use it in tests, and don't canonicalize it to '/' in -execdir.
* tests: Make sure the temporary directory is owned by the current user/groupTavian Barnes2016-11-221-0/+1
| | | | | BSDs apparently prefer to create new files/directories with the same group as the parent directory, rather than the current primary group.
* tests: Mkae LC_ALL=C apply to the whole pipeline when sorting.Tavian Barnes2016-11-221-1/+4
|
* Support -perm +MODE for symbolic modes.Tavian Barnes2016-11-211-1/+1
| | | | Only things like -perm +777 are disallowed by GNU find.
* Fix -execdir for /Tavian Barnes2016-11-211-1/+15
|
* tests: Don't rely on the system 'find' for the expected output.Tavian Barnes2016-11-211-142/+211
|
* Don't try to -delete the current directory.Tavian Barnes2016-11-131-1/+6
|
* bftw: Keep trailing slashes on the root in BFTW_DEPTH mode.Tavian Barnes2016-11-131-1/+5
|
* Redirect stdin from /dev/null for -ok and -okdir.Tavian Barnes2016-11-131-1/+11
|
* Implement -perm.Tavian Barnes2016-10-291-4/+47
|
* tests.sh: Give some feedback while running.Tavian Barnes2016-10-241-1/+15
|
* tests: Be more careful not to invoke remove-siblings.sh $scratch.Tavian Barnes2016-10-241-1/+1
|
* Implement -ignore_readdir_race.Tavian Barnes2016-10-241-8/+22
|
* parse: Ignore -- on the command line.Tavian Barnes2016-10-021-1/+11
| | | | | | | | | | | | | | | | | | find uses -- to indicate the end of the flags. That is, $ find -L -- -type f is allowed, but $ find -- -L -type f results in an error about an unknown predicate `-L`. This behaviour doesn't seem particularly useful -- in particular, unlike most other tools, it doesn't help you if you want to specify a filename beginning with a -. So to ensure bfs is compatible with all GNU find command lines, we just ignore -- whenever it appears.
* Allow flags like -L before ',' or ')' as pathnames.Tavian Barnes2016-06-091-1/+16
|
* Implement -fprint and -fprint0.Tavian Barnes2016-06-081-1/+13
|
* Treat '-', ')', and ',' as paths when possible.Tavian Barnes2016-06-081-3/+40
|
* Implement -{exec,ok}{,dir}.Tavian Barnes2016-05-221-1/+21
|
* Implement -size.Tavian Barnes2016-03-121-1/+17
|
* Implement (most of) -newerXY.Tavian Barnes2016-02-271-3/+7
|
* Fix -daystart to not round 0 upwards.Tavian Barnes2016-02-271-1/+9
|
* Implement -user and -group.Tavian Barnes2016-02-141-1/+17
|
* Implement -lname and -ilname.Tavian Barnes2016-02-141-1/+17
|
* Implement -iname and -ipath.Tavian Barnes2016-02-131-1/+9
|