diff --git a/doc/WritingTests b/doc/WritingTests index ae28daf..0e63cc4 100644 --- a/doc/WritingTests +++ b/doc/WritingTests @@ -74,7 +74,7 @@ All of the functions available in the Bash library are fully documented using co How do I use the library? ------------------------- -You shoud include the following statement in your test script: +You should include the following statement in your test script: source ../0_lib/functions.sh diff --git a/tests/p_net-snmp/0-install_snmpd.sh b/tests/p_net-snmp/0-install_snmpd.sh new file mode 100644 index 0000000..c38722e --- /dev/null +++ b/tests/p_net-snmp/0-install_snmpd.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# Author: Christoph Galuschka + +# Install net-snmp +t_InstallPackage net-snmp + +# activate at boot +chkconfig snmpd on +# start daemon with default settings +t_ServiceControl snmpd start +