docker-postfix/integration-tests/external-tools-test/tests/test.sh

18 lines
270 B
Bash
Raw Permalink Normal View History

2023-10-27 23:44:20 +08:00
#!/bin/sh
set -e
set -x
if ! hash netstat; then
echo "netstat not found!" >2
exit 1
fi
if ! hash nc; then
echo "netcat not found!" >2
exit 1
fi
if ! hash pluginviewer && ! hash saslpluginviewer; then
echo "pluginviewer not found!" >2
exit 1
2023-10-27 23:44:20 +08:00
fi