public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Macku <jamacku@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.23.0-3: fix non-root-user-download test: use stable URLs, enable SSH password auth
Date: Tue, 03 Nov 2026 12:40:10 GMT	[thread overview]
Message-ID: <179370961063.1.2498097366037161571.rpms-curl-fb88dc9a1026@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/curl
            Branch : curl-v8.23.0-3
            Commit : fb88dc9a102610241e9894164c2db44882260c52
            Author : Jan Macku <jamacku@redhat.com>
            Date   : 2026-10-14T10:24:51+02:00
            Stats  : +5/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/curl/c/fb88dc9a102610241e9894164c2db44882260c52?branch=curl-v8.23.0-3

            Log:
            fix non-root-user-download test: use stable URLs, enable SSH password auth

Co-authored-by: Claude <noreply@anthropic.com>

---
diff --git a/tests/non-root-user-download/runtest.sh b/tests/non-root-user-download/runtest.sh
index 0d72276..2c36674 100755
--- a/tests/non-root-user-download/runtest.sh
+++ b/tests/non-root-user-download/runtest.sh
@@ -31,9 +31,9 @@
 
 PACKAGE="curl"
 
-FTP_URL=ftp://ftp.fi.muni.cz/pub/linux/fedora/linux/releases/42/Everything/x86_64/iso/Fedora-Everything-42-1.1-x86_64-CHECKSUM
-HTTP_URL=https://archives.fedoraproject.org/pub/fedora/linux/releases/42/Everything/x86_64/iso/Fedora-Everything-42-1.1-x86_64-CHECKSUM
-CONTENT=1bd6ab4798983c2fe4a210f9c4ca135fed453d6142ba852c1f8d5fba22e113ab
+FTP_URL=ftp://ftp.fi.muni.cz/pub/linux/fedora/linux/development/rawhide/Everything/x86_64/os/Fedora-Legal-README.txt
+HTTP_URL=https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Fedora-Legal-README.txt
+CONTENT="Fedora Operating System"
 PASSWORD=pAssw0rd
 OPTIONS=""
 rlIsRHEL 7 && OPTIONS="--insecure"
@@ -46,9 +46,10 @@ rlJournalStart
         rlRun "useradd -m curltester" 0 "Adding the test user"
         rlRun "echo $PASSWORD | passwd --stdin curltester" 0 "Setting the password for the test user"
         rlRun "su - curltester -c 'echo $CONTENT > ~/testfile'" 0 "Creating ~curltester/testfile"
-        rlFileBackup --clean --missing-ok $HOME/.ssh /etc/hosts
+        rlFileBackup --clean --missing-ok $HOME/.ssh /etc/hosts /etc/ssh/sshd_config.d/00-test-password-auth.conf
         rlRun "rm -f $HOME/.ssh/*"
         [ -d $HOME/.ssh ] || ( mkdir $HOME/.ssh && restorecon HOME/.ssh )
+        rlRun "echo 'PasswordAuthentication yes' > /etc/ssh/sshd_config.d/00-test-password-auth.conf" 0 "Enabling password authentication"
         rlRun "rlServiceStart sshd"
         rlRun "ssh-keyscan localhost >> $HOME/.ssh/known_hosts"
     rlPhaseEnd

                 reply	other threads:[~2026-11-03 12:40 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=179370961063.1.2498097366037161571.rpms-curl-fb88dc9a1026@fedoraproject.org \
    --to=jamacku@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