summaryrefslogtreecommitdiffstats
path: root/utils/checksec/test.sh
blob: 2f00cb98e09b103ffa877b87e3a45e4907e33e2e (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

case "$1" in
	checksec)
		# Analyze a known binary; output must include the binary path
		checksec --file=/usr/bin/checksec 2>&1 | grep -qF "checksec"
		;;
esac