Skip to content

Commit

Permalink
Path change for test file
Browse files Browse the repository at this point in the history
Signed-off-by: nitin sanghi <[email protected]>
  • Loading branch information
sanghinitin committed Dec 5, 2024
1 parent 6cbc98e commit 17a76a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .expeditor/buildkite/artifact.habitat.test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Push-Location $project_root

try {
Write-Host "Running unit tests..."
/habitat/tests/test.ps1 $pkg_ident
habitat/tests/test.ps1 $pkg_ident
}
finally {
# Ensure we always return to the original directory
Expand Down
2 changes: 1 addition & 1 deletion habitat/tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ cd "${project_root}"

echo "--- :mag_right: Testing ${pkg_ident} executables"
actual_version=$(hab pkg exec "${pkg_ident}" chef-cli -v | sed -E 's/.*version: ([0-9]+\.[0-9]+\.[0-9]+).*/\1/')
[[ "$package_version" = "$actual_version" ]] || error "chef-cli version is not the expected version. Expected '$package_version', got '$actual_version'"
[[ "$package_version" = "$actual_version" ]] || error "chef-cli version is not the expected version ${pkg_ident}. Expected '$package_version', got '$actual_version'"


0 comments on commit 17a76a7

Please sign in to comment.