summaryrefslogtreecommitdiffstats
path: root/tests.sh
AgeCommit message (Collapse)Author
2017-04-24Release 1.01.0Tavian Barnes
2017-04-23Implement -fstypeTavian Barnes
Fixes #6!
2017-04-16tests.sh: Allow individual tests to be specified on the command lineTavian Barnes
2017-04-16Implement -XTavian Barnes
2017-04-16tests: Add tests for bfs extensions to -exec ... +Tavian Barnes
2017-04-15Implement -exec/-execdir ... +Tavian Barnes
2017-04-08tests.sh: Use eval instead of declare -gTavian Barnes
Turns out declare -g is from Bash 4 too.
2017-03-11tests: Run everything in UTCTavian Barnes
2017-03-11Add a test for colored outputTavian Barnes
2017-03-11Implement -printf %Ak, %Ck, and %TkTavian Barnes
2017-02-11tests: Print the count of passing and failing testsTavian Barnes
2017-02-11Add some tests for the operators themselvesTavian Barnes
2017-02-10Add tests for bfs's flexible command line parsingTavian Barnes
2017-02-10tests: Don't require bash associative arraysTavian Barnes
That's a bash 4 feature, while macOS is stuck on bash 3.
2017-02-09bftw: Make the nameoff of "///" point to "/"Tavian Barnes
This simplifies a few things such as -name handling for ///.
2017-02-09Give the test cases human-readable namesTavian Barnes
2017-02-09Don't close stdin for -ok or -okdirTavian Barnes
Turns out it violates POSIX, even though GNU find does it.
2017-02-08Add support for -x?type with multiple typesTavian Barnes
This functionality is already part of GNU findutils git.
2017-02-06Fix a memory leak parsing -printfTavian Barnes
2017-02-06tests.sh: Set the umask before creating the test treesTavian Barnes
2017-02-05Make -quit happen immediately, not at the end of the current expressionTavian Barnes
2017-02-05bftw: Compute nameoff correctly for the root in BFTW_DEPTH modeTavian Barnes
2017-02-05Implement -printf/-fprintfTavian Barnes
Based on a patch by Fangrui Song <i@maskray.me>. Closes #16.
2017-02-04Implement -nouser and -nogroupTavian Barnes
2017-01-03tests: Add a test for -inumTavian Barnes
2017-01-02tests: Add tests for -quitTavian Barnes
2016-12-21Set _FILE_OFFSET_BITS to 64Tavian Barnes
With the new support for -size n[TP], this is needed to avoid overflow on 32-bit platforms.
2016-12-20Implement -mnewerTavian Barnes
2016-12-20Support -[gu]id NAME like BSD findTavian Barnes
2016-12-18Implement BSD find's -depth NTavian Barnes
2016-12-18tests: Allow limiting the testsuite to POSIX, BSD, GNU, and bfs-specific ↵Tavian Barnes
features
2016-12-18tests.sh: Let the bfs binary be specified on the command lineTavian Barnes
2016-12-18Implement -regex, -iregex, and -regextype/-ETavian Barnes
2016-12-08tests: Fix failure when /tmp is a symlink.Tavian Barnes
2016-12-08tests: Don't use install -DTavian Barnes
-D is a GNU-ism that doesn't work on BSD or macOS.
2016-12-05tests: Don't check -size for directoriesTavian Barnes
2016-12-05tests: Don't check -links for directoriesTavian Barnes
2016-11-24Allow // to be different from /Tavian Barnes
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.
2016-11-22tests: Make sure the temporary directory is owned by the current user/groupTavian Barnes
BSDs apparently prefer to create new files/directories with the same group as the parent directory, rather than the current primary group.
2016-11-22tests: Mkae LC_ALL=C apply to the whole pipeline when sorting.Tavian Barnes
2016-11-21Support -perm +MODE for symbolic modes.Tavian Barnes
Only things like -perm +777 are disallowed by GNU find.
2016-11-21Fix -execdir for /Tavian Barnes
2016-11-21tests: Don't rely on the system 'find' for the expected output.Tavian Barnes
2016-11-13Don't try to -delete the current directory.Tavian Barnes
2016-11-13bftw: Keep trailing slashes on the root in BFTW_DEPTH mode.Tavian Barnes
2016-11-13Redirect stdin from /dev/null for -ok and -okdir.Tavian Barnes
2016-10-29Implement -perm.Tavian Barnes
2016-10-24tests.sh: Give some feedback while running.Tavian Barnes
2016-10-24tests: Be more careful not to invoke remove-siblings.sh $scratch.Tavian Barnes
2016-10-24Implement -ignore_readdir_race.Tavian Barnes