tests: Don't generate binary output from checks.

The tests will end up logging the check output, and spewing random
binary all over a terminal never results in anything good.
This commit is contained in:
Nelson Elhage 2014-05-26 13:13:56 -07:00
parent 37f49427e1
commit 8af424fc4c

View File

@ -74,7 +74,7 @@ func TestCheckMonitor_LimitOutput(t *testing.T) {
check := &CheckMonitor{
Notify: mock,
CheckID: "foo",
Script: "dd if=/dev/urandom bs=8192 count=10",
Script: "od -N 81920 /dev/urandom",
Interval: 25 * time.Millisecond,
Logger: log.New(os.Stderr, "", log.LstdFlags),
}