test: refactor common.ddCommand()
- Remove different paths for Windows and POSIX.
- Remove fixtures file. Simply run the command immediately/directly.
- Since it is never called with more than one value for kilobytes, eliminate that argument.
- Update/simplify tests that use this function. (They no longer need to use child_process to run the command.)
- Update documentation.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines