From ff5a5aa59121a18dfda37750de273654871dac4c Mon Sep 17 00:00:00 2001 From: Paul Murphy Date: Mon, 20 Apr 2026 10:50:04 -0500 Subject: [PATCH] Update net_err_sugest_fetch_with_cli test The case of the error message was updated in Rust 1.95, ignore the case on this error message for backwards compatability. --- tests/Sanity/net_err_suggests_fetch_with_cli/runtest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Sanity/net_err_suggests_fetch_with_cli/runtest.sh b/tests/Sanity/net_err_suggests_fetch_with_cli/runtest.sh index 4acce0a..ba7ed8a 100755 --- a/tests/Sanity/net_err_suggests_fetch_with_cli/runtest.sh +++ b/tests/Sanity/net_err_suggests_fetch_with_cli/runtest.sh @@ -44,7 +44,7 @@ function test_git-fetch-with-cli() { log_file=$(mktemp) rlRun "$cargo_cmd |& tee $log_file" 101 - rlAssertGrep "Unable to update $REMOTE_URL" "$log_file" || cat "$log_file" + rlAssertGrep "unable to update $REMOTE_URL" "$log_file" -i || cat "$log_file" rlAssertNotGrep "net.git-fetch-with-cli" "$log_file" || cat "$log_file" rm -f "$log_file" @@ -69,7 +69,7 @@ rlJournalStart rlRun "cargo check -v |& tee output.log" 101 # Ensure DNS was not able to resolve the remote rlAssertGrep 'spurious network error' output.log - rlAssertGrep "Unable to update $REMOTE_URL" output.log + rlAssertGrep "unable to update $REMOTE_URL" output.log -i # Ensure cargo suggests using net.git-fetch-with-cli rlAssertGrep "net.git-fetch-with-cli" output.log