Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-03-25 | basename: fix segfault on null input; add tests | Samuel Holland | |
When passed an empty string, glibc's basename() returns a pointer to the string "." in read-only memory. If an empty suffix is given, it fits the condition of being shorter than the path, so we try to overwrite the null byte and crash. Fix this by just ignoring empty suffixes; they don't do anything anyway. | |||
2016-03-02 | Factor out command name at the start of test name, have runtest.sh print it. | Rob Landley | |
2014-09-20 | Move testsuite out of scripts/test into its own top level tests directory, ↵ | Rob Landley | |
and make ctrl-c kill "make test" more reliably. |