Skip to content

Commit

Permalink
ignoring warn change sed regex
Browse files Browse the repository at this point in the history
Signed-off-by: nitin sanghi <[email protected]>
  • Loading branch information
sanghinitin committed Dec 6, 2024
1 parent 0e502a0 commit 38223c6
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 @@ -19,7 +19,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}" chef-cli -v | sed -E 's/.*support ([0-9]+\.[0-9]+\.[0-9]+).*/\1/')
actual_version=$(hab pkg exec "${pkg_ident}" chef-cli -v | sed -E 's/.*support. ([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'"


0 comments on commit 38223c6

Please sign in to comment.