]> git.99rst.org Git - openwrt-packages.git/commitdiff
erlang: remove quiet mode from grep in test version checks
authorJosef Schlehofer <redacted>
Thu, 6 Aug 2026 18:48:25 +0000 (20:48 +0200)
committerAlexandru Ardelean <redacted>
Fri, 7 Aug 2026 08:42:25 +0000 (11:42 +0300)
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 <redacted>
lang/erlang/test-version.sh
lang/erlang/test.sh

index 5e739f52c392269c26cb74b9b0cd14d640141ffb..413072a769c243a09d0aea3d902da5786c244015 100644 (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
index dea2824790430511f59c06badd4e6e238d194c76..4a815193682f3515f5673cbcabe472204d122719 100644 (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
        }
git clone https://git.99rst.org/PROJECT