Fixed the exit status of the prereq_command.
The prereq_command was exiting using powershell syntax, not bash. The /b was removed to fix the issue.
This commit is contained in:
@@ -21,7 +21,7 @@ atomic_tests:
|
||||
- description: |
|
||||
System must be CentOS or RHEL v7
|
||||
prereq_command: |
|
||||
if [ $(uname -a | grep -ioP 'el[0-9]' | grep -oP '[0-9]') -eq "7" ]; then exit /b 0; else exit /b 1; fi;
|
||||
if [ $(uname -a | grep -ioP 'el[0-9]' | grep -oP '[0-9]') -eq "7" ]; then exit 0; else exit 1; fi;
|
||||
get_prereq_command: |
|
||||
echo Please run from CentOS or RHEL v7
|
||||
executor:
|
||||
@@ -108,4 +108,4 @@ atomic_tests:
|
||||
name: powershell
|
||||
elevation_required: false
|
||||
command: |
|
||||
get-addefaultdomainpasswordpolicy
|
||||
get-addefaultdomainpasswordpolicy
|
||||
|
||||
Reference in New Issue
Block a user