Skip to content

Commit f842803

Browse files
committed
updated tests/help.sh
1 parent 915d080 commit f842803

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/help.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ for x in $(echo *.py 2>/dev/null); do
2727
./$x --help # >/dev/null
2828
status=$?
2929
set -e
30-
[ $status = 3 -o $status = 0 ] || { echo "status code for $x --help was $status not expected 0 or 3"; exit 1; }
30+
if [ $status = 0 ]; then
31+
[[ $x =~ ambari_blueprints ]] && continue
32+
fi
33+
[ $status = 3 ] || { echo "status code for $x --help was $status not expected 3"; exit 1; }
3134
done
3235
echo "All Python programs found exited with expected code 0/3 for --help"

0 commit comments

Comments
 (0)