>I think sbase >could use some sort of test suite so we could check for correct >behavior and accidental regressions.
There's base-util-tests by maandree. https://github.com/maandree/base-util-tests On Sat, May 14, 2016 at 10:56 PM, Michael Forney <[email protected]> wrote: > Hopefully others can check my logic on these. It's very easy to > introduce new bugs accidentally by fixing others. I think sbase > could use some sort of test suite so we could check for correct > behavior and accidental regressions. > > Michael Forney (6): > Revert "Fix showing directories when -R flag is set in ls(1)" > Revert "ls: only display directory headers when more than one > directory is specified" > ls: Don't show directory name with single directory operand > ls: Simplify some logic > sort: Fix line comparison when col buffer contains data from longer > line > linecmp: Handle NUL bytes properly > > libutil/linecmp.c | 11 ++--------- > ls.c | 23 ++++++++++++----------- > sort.c | 37 ++++++++++++++++++++----------------- > 3 files changed, 34 insertions(+), 37 deletions(-) > > -- > 2.6.2 > >
