public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/rust] main: net_err_suggests_fetch_with_cli: relax git command matching
@ 2026-10-06 16:41 Paul Murphy
  0 siblings, 0 replies; only message in thread
From: Paul Murphy @ 2026-10-06 16:41 UTC (permalink / raw)
  To: git-commits

            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"
 }

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-06 16:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 16:41 [tests/rust] main: net_err_suggests_fetch_with_cli: relax git command matching Paul Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox