diff --git a/habitat/tests/test.sh b/habitat/tests/test.sh index b8734a0d1..ce60aff14 100755 --- a/habitat/tests/test.sh +++ b/habitat/tests/test.sh @@ -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"