github.com/mackerelio/mackerel-agent-plugins@v0.89.3/mackerel-plugin-mailq/lib/fixtures/qmail/qmail-qstat (about)

     1  #!/bin/bash
     2  
     3  # This script generates a dummy queue information in the format of qmail-qstat
     4  
     5  TEST_MAILQ_COUNT=${TEST_MAILQ_COUNT:-0}
     6  cat <<EOF
     7  messages in queue: ${TEST_MAILQ_COUNT}
     8  messages in queue but not yet preprocessed: 0
     9  EOF