Skip to content

Commit

Permalink
fixing test cases
Browse files Browse the repository at this point in the history
Signed-off-by: nikhil2611 <[email protected]>
  • Loading branch information
nikhil2611 committed Nov 11, 2024
1 parent 459a802 commit 2a5bc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion habitat/tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ package_version=$(awk -F / '{print $3}' <<<"$pkg_ident")
cd "${project_root}"

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

echo "--- :Running rake"
Expand Down

0 comments on commit 2a5bc3c

Please sign in to comment.