They aim to emulate common utilities, so check if their behavior is the same.
Each tool must have a test for its ability to behave the same as its counterpart:
- If a file descriptor is read from to written to
- If it takes file arguments, how many does it accepts
- What happens when it receives no argument
- Behavior when it can't write to a file, does it still write to stdout
- Buffer types, does it start writing before reading everything
- It it reads from stdin, does it requires
- or reads automatically from it or both
Each test must also have a small test with ANSI escape sequences to check if stdisplay is being used.
They aim to emulate common utilities, so check if their behavior is the same.
Each tool must have a test for its ability to behave the same as its counterpart:
-or reads automatically from it or bothEach test must also have a small test with ANSI escape sequences to check if
stdisplayis being used.