public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Murphy <murp@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/rust] main: net_err_suggests_fetch_with_cli: relax git command matching
Date: Tue, 06 Oct 2026 16:41:10 GMT [thread overview]
Message-ID: <179130487024.1.2545587508274645701.tests-rust-378ab0169cf6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/rust
Branch : main
Commit : 378ab0169cf65deef047493c520c9d637271d5d4
Author : Paul Murphy <murp@redhat.com>
Date : 2026-10-06T11:32:26-05:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/tests/rust/c/378ab0169cf65deef047493c520c9d637271d5d4?branch=main
Log:
net_err_suggests_fetch_with_cli: relax git command matching
Ignore options which come between 'git' and 'fetch'. Cargo now
specifies several "-c ..." options when invoking git fetch.
---
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 bca1cc5..5f1b884 100755
--- a/tests/Sanity/net_err_suggests_fetch_with_cli/runtest.sh
+++ b/tests/Sanity/net_err_suggests_fetch_with_cli/runtest.sh
@@ -47,7 +47,7 @@ function test_git-fetch-with-cli() {
rlRun "$cargo_cmd |& tee $log_file" "101, 124"
rlAssertGrep "Updating.*$REMOTE_URL" "$log_file" -E || cat "$log_file"
# Verify cargo executed git (not just suggested it)
- rlAssertGrep "git fetch.*$REMOTE_URL" "$log_file" -E || cat "$log_file"
+ rlAssertGrep "git(| .*) fetch.*$REMOTE_URL" "$log_file" -E || cat "$log_file"
rm -f "$log_file"
}
reply other threads:[~2026-10-06 16:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179130487024.1.2545587508274645701.tests-rust-378ab0169cf6@fedoraproject.org \
--to=murp@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox