Include a double dashed test case.

This commit is contained in:
Pedro Algarvio 2013-01-25 17:20:31 +00:00
parent 36cfdabe62
commit 75c4b8aa0e

View file

@ -45,6 +45,9 @@ passed_echo() {
title_echo "Running checkbashisms"
/usr/bin/checkbashisms -pxfn bootstrap-salt-minion.sh && passed_echo || failed_echo
title_echo "Double dashed long options are errors and explained to the user"
/bin/bash bootstrap-salt-minion.sh --help | grep "Long options are NOT double-dash prefixed" && passed_echo || failed_echo
title_echo "Installing using bash"
(sudo /bin/bash bootstrap-salt-minion.sh && salt-minion --versions-report && sudo apt-get remove salt-common salt-minion) && passed_echo || failed_echo