mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Include a double dashed test case.
This commit is contained in:
parent
36cfdabe62
commit
75c4b8aa0e
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue