18 lines
418 B
Bash
Executable File
18 lines
418 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Check that the -q option shuts everything up.
|
|
|
|
true "${testSubject:?not set - call this from 'make check'}"
|
|
true "${workFile1:?not set - call this from 'make check'}"
|
|
|
|
dd if=/dev/zero bs=1000 count=5 2>/dev/null \
|
|
| "${testSubject}" -f -q -i 0.1 -L 5000 >/dev/null 2>"${workFile1}"
|
|
|
|
if test -s "${workFile1}"; then
|
|
echo "output detected when there should be none"
|
|
cat "${workFile1}"
|
|
exit 1
|
|
fi
|
|
|
|
exit 0
|