summaryrefslogtreecommitdiffstats
path: root/tests.sh
Commit message (Collapse)AuthorAgeFilesLines
* fsade: Support NFSv4 ACLs on FreeBSDTavian Barnes2020-01-071-14/+20
|
* tests.sh: Bail out if setup failsTavian Barnes2019-11-011-0/+2
|
* tests: Fix some commentsTavian Barnes2019-09-191-3/+3
|
* tests: Don't redirect to /dev/null when unnecessaryTavian Barnes2019-09-131-4/+4
|
* tests.sh: Use an array for the enabled testsTavian Barnes2019-09-111-15/+11
| | | | | The separate $run_test_* variables were sensitive to the environment that ran the script.
* tests: Add -mount/-xdev tests with -LTavian Barnes2019-09-111-0/+32
|
* tests: Test more cases in test_color_lsTavian Barnes2019-09-051-1/+3
|
* color: Actually resolve symlinks against their parent directoryTavian Barnes2019-09-041-0/+1
|
* color: Fix directory coloring when resolving symlinks at the rootTavian Barnes2019-09-031-0/+25
|
* tests: Bail out of ACL tests if we can't set ACLsTavian Barnes2019-08-231-10/+6
| | | | Hopefully fixes #52.
* tests: Relax test_execdir_ulimit so that GNU find passesTavian Barnes2019-06-281-3/+3
|
* color: Fix a crash if LS_COLORS ends in *Tavian Barnes2019-06-271-0/+6
|
* bftw: Queue individual files in depth-first modeTavian Barnes2019-06-251-1/+15
| | | | This makes the order be truly depth-first.
* tests: Qualify the path to $TMP/scratchTavian Barnes2019-06-251-1/+3
|
* tests.sh: Try a bit harder to clean up scratchTavian Barnes2019-06-171-4/+3
| | | | | This matters if some directories aren't readable/searchable and we get ^C'd, for example.
* fsade: Fix ACL detection on macOSTavian Barnes2019-05-241-10/+56
|
* Add documentation for -xattrTavian Barnes2019-05-241-0/+6
|
* Implement -xattr predicateTavian Barnes2019-05-241-0/+27
|
* fsade: Refactor the POSIX.1e abstractionsTavian Barnes2019-05-241-0/+52
| | | | | | | Since we're going to want to abstract more things that aren't part of POSIX.1e (like xattrs) in a similar way, let's give this a more generic name. And while we're at it, give it some more precise error reporting, and add some tests.
* tests: Fix a typoTavian Barnes2019-05-231-1/+1
|
* tests: Work around Bash 4 not updating $COLUMNSTavian Barnes2019-05-091-0/+7
|
* tests: Add some more --sudo testsTavian Barnes2019-05-091-5/+49
| | | | | | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912180#17 pointed out that d_ino is not trustworthy on mount points either. Make sure we don't use it.
* color: Don't stat() if we don't need toTavian Barnes2019-05-051-0/+10
|
* bftw: Add a caching stat() API to struct BFTWTavian Barnes2019-05-041-0/+10
|
* tests: Fix test_xtype_reorderTavian Barnes2019-04-281-2/+2
|
* tests: Add some tests that require sudoTavian Barnes2019-04-241-13/+77
|
* tests: Redirect stdin from /dev/nullTavian Barnes2019-04-241-0/+3
|
* tests: Use more colorsTavian Barnes2019-04-241-32/+39
|
* parse: Allow things like -uid ++10Tavian Barnes2019-04-211-0/+20
| | | | GNU find does too.
* tests: Fix --bfs=pathTavian Barnes2019-04-211-10/+10
|
* tests: Don't test symlink permissionsTavian Barnes2019-04-201-1/+1
| | | | They're different between platforms.
* tests: Add a test with -printf %H and multiple rootsTavian Barnes2019-04-201-0/+5
| | | | To make sure we're keeping track of different root paths correctly
* tests: Refuse to run as rootTavian Barnes2019-04-181-256/+267
| | | | | Suggested by Chris Lamb here: https://salsa.debian.org/lamby/pkg-bfs/commit/b173efb35da126adb39b0984219d6a2fd9ff428f#note_74877
* tests: Fix color NUL byte test on platforms where sort expects textTavian Barnes2019-03-281-1/+17
|
* color: Implement ln=targetTavian Barnes2019-03-281-0/+5
| | | | | With ln=target in LS_COLORS, links should be colored according to their target's stat() info, not their own.
* color: Implement escape sequence parsingTavian Barnes2019-03-281-0/+10
| | | | | GNU ls allows custom escape sequences inside color values, including control characters and embedded NULs.
* opt: Optimize redundant comma expressionsTavian Barnes2019-03-211-2/+14
|
* tests: Respond to terminal resizesTavian Barnes2019-03-211-3/+9
|
* tests: Make the output more colorful and nicerTavian Barnes2019-03-201-18/+16
|
* opt: Replace -a -false/-o -true with -not when possibleTavian Barnes2019-03-201-0/+7
|
* tests: Add utilities for comparing colors to lsTavian Barnes2019-03-191-1/+1
|
* tests: Use archive extensions for color testsTavian Barnes2019-03-171-2/+3
|
* color: Match the behaviour of GNU ls more closelyTavian Barnes2019-03-171-3/+58
|
* tests: Add a test for extension overridesTavian Barnes2019-03-071-0/+10
|
* eval: Fix -unique with -depthTavian Barnes2019-03-071-0/+10
|
* Implement -uniqueTavian Barnes2019-03-011-0/+16
| | | | Closes #48
* tests: Add a test for symlink coloring to a deviceTavian Barnes2019-02-181-1/+6
|
* tests: Add tests for -no{group,user} under fd pressureTavian Barnes2019-02-071-0/+16
|
* tests: New utility for making and testing socket filesTavian Barnes2019-02-011-11/+11
|
* main: Fix closed standard stream handlingTavian Barnes2019-02-011-0/+29
| | | | | bfs >&- should complain about a missing file descriptor, rather than silently succeeding.