Skip to content

Commit

Permalink
openssl checks
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Powell <thomas.powell@progress.com>
  • Loading branch information
tpowell-progress committed Apr 19, 2024
1 parent 48daca2 commit f6236ac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions omnibus-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
3 changes: 2 additions & 1 deletion omnibus-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"'
"$EMBEDDED_BIN_DIR/ruby" -r openssl -e 'puts "Ruby can load OpenSSL"'
"$EMBEDDED_BIN_DIR/openssl" version # ensure openssl command works

0 comments on commit f6236ac

Please sign in to comment.