mirror of
https://github.com/inspec/inspec
synced 2024-11-29 16:10:30 +00:00
Add debugging statement
Signed-off-by: poorndm <poorndm@progress.com>
This commit is contained in:
parent
43a8d94841
commit
c1bdb49952
1 changed files with 14 additions and 0 deletions
|
@ -7,6 +7,20 @@ $Env:PATH = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";
|
|||
$Env:Path = "C:\opscode\inspec\bin;C:\opscode\inspec\embedded\bin;$Env:PATH"
|
||||
Write-Host "+++ Testing $Plan"
|
||||
|
||||
# *********Debugging ***************
|
||||
Write-Host ":ruby: Validating Ruby can run"
|
||||
& $embedded_bin_dir\ruby --version
|
||||
If ($lastexitcode -ne 0) { Throw $lastexit
|
||||
|
||||
Write-Host ":bundler: Validating Bundler can run"
|
||||
& $embedded_bin_dir\bundle.bat --version
|
||||
If ($lastexitcode -ne 0) { Throw $lastexitcode }
|
||||
|
||||
Write-Host ":lock: Validating OpenSSL can run"
|
||||
$version=(&"$embedded_bin_dir\openssl.exe" version)
|
||||
If ($lastexitcode -ne 0) { Throw $lastexitcode }
|
||||
|
||||
|
||||
Set-Location test/artifact
|
||||
rake
|
||||
If ($lastexitcode -ne 0) { Throw $lastexitcode }
|
||||
|
|
Loading…
Reference in a new issue