Blame testing/check_for_pskill

Packit Service b38f0b
#!/bin/sh
Packit Service b38f0b
Packit Service b38f0b
# Make sure MinGW / MSYS users have the pskill.exe program to stop the agent and
Packit Service b38f0b
# snmptrapd
Packit Service b38f0b
if [ "x$OSTYPE" = "xmsys" ]; then
Packit Service b38f0b
    for e in pskill.exe pslist.exe; do
Packit Service b38f0b
	if [ "x`type $e 2>/dev/null`" = "x" ]; then
Packit Service b38f0b
	    echo "Could not find $e. Aborting tests."
Packit Service b38f0b
	    echo "$e can be installed as follows:"
Packit Service b38f0b
	    echo -- "- Download PSTools.zip from http://technet.microsoft.com/en-us/sysinternals/default."
Packit Service b38f0b
	    echo -- "- Copy $e to C:\\MinGW\\msys\\1.0\\bin."
Packit Service b38f0b
	    exit 1
Packit Service b38f0b
	fi
Packit Service b38f0b
    done
Packit Service b38f0b
fi