flex/tests/options.cn
Explorer09 bcf7a07369 test: Remove test scripts bashisms.
They now all work under a POSIX compliant sh. Specifically, 'dash' can
now be used for running "make check" tests.

Note that none of these scripts has ever been using a pipe, so
`set -o pipefail` is unnecessary and removed.
2017-01-17 21:10:16 -05:00

6 lines
112 B
Bash
Executable File

#!/bin/sh
# Test that flex handles the grouped noop options -c and -n properly.
echo %% | $1 -cn -o /dev/null