erlang: remove quiet mode from grep in test version checks

Remove the quiet mode flag (-q) from grep in version check commands
to ensure that their stdout output is visible.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
Josef Schlehofer authored and Alexandru Ardelean committed 2026-08-07 11:42:25 +03:00
1 parent 7fb98c160d
commit ca04783f33
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -6,6 +6,6 @@ erlang)
timeout 60s erl -noshell \
-eval "V = erlang:system_info(otp_release), io:format(\"OTP ~s~n\", [V])" \
-s init stop 2>&1 | \
grep -qF "OTP ${otp_major}"
grep -F "OTP ${otp_major}"
;;
esac
+1 -1
View File
@@ -5,7 +5,7 @@ erlang)
# Check erl binary is present and prints the right OTP version
otp_major="${2%%.*}"
timeout 60s erl -noshell -eval "V = erlang:system_info(otp_release), io:format(\"OTP ~s~n\", [V])" -s init stop 2>&1 | \
grep -qF "OTP ${otp_major}" || {
grep -F "OTP ${otp_major}" || {
echo "FAIL: erl did not report expected OTP version '$2' (major: $otp_major)"
exit 1
}