python-avocado/test/help-usage-1/runtest.sh
Merlin Mathesius 9f6f5dcf7f Sync with upstream release 47.0.
Enable self-tests during build.
Add example test to be run by Taskotron.
2017-03-27 15:20:51 -05:00

13 lines
174 B
Bash
Executable file

#!/bin/sh
PACKAGE=python-avocado
# Assume the test will pass.
result=PASS
avocado --help | grep -q -i '^usage:'
if [ $? -ne 0 ]; then
result=FAIL
fi
echo $result