| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
set -e |
| 4 |
echo "test start" |
| 5 |
checksec --output=csv --file=/bin/ls || echo "test fail" || exit |
| 6 |
checksec --output=xml --file=/bin/ls || echo "test fail" || exit |
| 7 |
checksec --output=json --file=/bin/ls || echo "test fail" || exit |
| 8 |
echo "test OK" |