diff --git a/omnibus-test.ps1 b/omnibus-test.ps1 index 64cbad4..ab78398 100644 --- a/omnibus-test.ps1 +++ b/omnibus-test.ps1 @@ -28,3 +28,10 @@ If ($lastexitcode -ne 0) { Throw $lastexitcode } & $embedded_bin_dir\bundle.bat --version If ($lastexitcode -ne 0) { Throw $lastexitcode } + +& $embedded_bin_dir\openssl.exe version +If ($lastexitcode -ne 0) { Throw $lastexitcode } + +If ((Get-Command "openssl.exe").Source -ne $embedded_bin_dir\openssl.exe) { + Throw "OpenSSL does not point to embedded bin dir" +} \ No newline at end of file diff --git a/omnibus-test.sh b/omnibus-test.sh index 97a3f32..5e24dd3 100755 --- a/omnibus-test.sh +++ b/omnibus-test.sh @@ -37,4 +37,5 @@ done "$EMBEDDED_BIN_DIR/gem" --version "$EMBEDDED_BIN_DIR/bundle" --version "$EMBEDDED_BIN_DIR/nokogiri" --version -"$EMBEDDED_BIN_DIR/ruby" -r openssl -e 'puts "Ruby can load OpenSSL"' \ No newline at end of file +"$EMBEDDED_BIN_DIR/ruby" -r openssl -e 'puts "Ruby can load OpenSSL"' +"$EMBEDDED_BIN_DIR/openssl" version # ensure openssl command works \ No newline at end of file