summaryrefslogtreecommitdiffstats
path: root/tests.sh
AgeCommit message (Collapse)Author
2019-05-05color: Don't stat() if we don't need toTavian Barnes
2019-05-04bftw: Add a caching stat() API to struct BFTWTavian Barnes
2019-04-28tests: Fix test_xtype_reorderTavian Barnes
2019-04-24tests: Add some tests that require sudoTavian Barnes
2019-04-24tests: Redirect stdin from /dev/nullTavian Barnes
2019-04-24tests: Use more colorsTavian Barnes
2019-04-21parse: Allow things like -uid ++10Tavian Barnes
GNU find does too.
2019-04-21tests: Fix --bfs=pathTavian Barnes
2019-04-20tests: Don't test symlink permissionsTavian Barnes
They're different between platforms.
2019-04-20tests: Add a test with -printf %H and multiple rootsTavian Barnes
To make sure we're keeping track of different root paths correctly
2019-04-18tests: Refuse to run as rootTavian Barnes
Suggested by Chris Lamb here: https://salsa.debian.org/lamby/pkg-bfs/commit/b173efb35da126adb39b0984219d6a2fd9ff428f#note_74877
2019-03-28tests: Fix color NUL byte test on platforms where sort expects textTavian Barnes
2019-03-28color: Implement ln=targetTavian Barnes
With ln=target in LS_COLORS, links should be colored according to their target's stat() info, not their own.
2019-03-28color: Implement escape sequence parsingTavian Barnes
GNU ls allows custom escape sequences inside color values, including control characters and embedded NULs.
2019-03-21opt: Optimize redundant comma expressionsTavian Barnes
2019-03-21tests: Respond to terminal resizesTavian Barnes
2019-03-20tests: Make the output more colorful and nicerTavian Barnes
2019-03-20opt: Replace -a -false/-o -true with -not when possibleTavian Barnes
2019-03-19tests: Add utilities for comparing colors to lsTavian Barnes
2019-03-17tests: Use archive extensions for color testsTavian Barnes
2019-03-17color: Match the behaviour of GNU ls more closelyTavian Barnes
2019-03-07tests: Add a test for extension overridesTavian Barnes
2019-03-07eval: Fix -unique with -depthTavian Barnes
2019-03-01Implement -uniqueTavian Barnes
Closes #48
2019-02-18tests: Add a test for symlink coloring to a deviceTavian Barnes
2019-02-07tests: Add tests for -no{group,user} under fd pressureTavian Barnes
2019-02-01tests: New utility for making and testing socket filesTavian Barnes
2019-02-01main: Fix closed standard stream handlingTavian Barnes
bfs >&- should complain about a missing file descriptor, rather than silently succeeding.
2019-01-31tests: Fail if bfs failsTavian Barnes
For tests that expect bfs to fail, the return value disambiguates whether bfs itself failed or whether the output was unexpected.
2019-01-02posix1e: Split out ACL and capability handling from utilTavian Barnes
2019-01-02color: Fix more incompatibilities with GNU lsTavian Barnes
2018-12-28tests: Fix test_exit() to not depend on breadth-first orderingTavian Barnes
2018-12-17tests.sh: Add a --help with usage informationTavian Barnes
2018-11-14exec: Reject -exec \; without a commandTavian Barnes
Prior to this, we'd fork and then segfault on every file as NULL was passed to execvpe(). Found while looking through old FreeBSD find bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=36521 bfs still supports the (dubious, possibly unintentional?) GNU find extension to POSIX that allows $ bfs -exec {} \;
2018-11-14tests: Don't assume BSD find has the "implicit ."Tavian Barnes
Also, FreeBSD find rejects -L -delete, so don't test it under --bsd.
2018-11-14tests: Don't assume find continues after filesystem loopsTavian Barnes
POSIX says > When it detects an infinite loop, find shall write a diagnostic > message to standard error and shall either recover its position in the > hierarchy or terminate. So make the 'links' folder not have any loops, and add a new 'loops' folder for testing the GNU/bfs behaviour.
2018-11-01tests: Make the weird names tests POSIX-compliantTavian Barnes
2018-11-01tests: Add testcases for -pruneTavian Barnes
2018-09-27tests: Sort test listsTavian Barnes
2018-09-27tests: Move test for -H -newer out of POSIXTavian Barnes
The POSIX spec implies that -newer is actually not supposed to respect -H/-L. But all implementations I know about do anyway.
2018-09-26tests: Remove non-POSIX features from POSIX testsTavian Barnes
Credit to http://core.suckless.org/sbase/ for identifying these.
2018-09-26Update some more copyright datesTavian Barnes
2018-09-18spawn: New posix_spawn()-like API for execTavian Barnes
2018-08-18opt: Re-run optimizations after reordering expressionsTavian Barnes
This catches new data flow inferences that can be made after swapping the children of an expression.
2018-07-24printf: Support %B, GNU find's undocumented birth time specifierTavian Barnes
2018-07-20tests: Add tests for mode 000Tavian Barnes
2018-07-20printf: Output ? for errors in %YTavian Barnes
2018-07-12eval: Fix -delete when following symlinks.Tavian Barnes
Same bug as https://savannah.gnu.org/bugs/?46305. Please don't ever do this though.
2018-07-07tests: Add some more tests for broken symlinksTavian Barnes
2018-07-07tests: Use -maxdepth 0 instead of | head -n1Tavian Barnes
This avoids the potential for "broken pipe" errors observed on some systems, e.g. http://build.alpinelinux.org/buildlogs/build-edge-s390x/testing/bfs/bfs-1.2.2-r0.log