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] f43: fix non-root-user-download test: use stable URLs, enable SSH password auth
Date: Fri, 23 Oct 2026 13:35:44 GMT	[thread overview]
Message-ID: <179276254423.1.7580224499402258596.rpms-curl-abdbb99b9fe4@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/curl
            Branch : f43
            Commit : abdbb99b9fe4deed4eb1a3e82d889115833270c8
            Author : Jan Macku <jamacku@redhat.com>
            Date   : 2026-10-16T15:16:39+02:00
            Stats  : +5/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/curl/c/abdbb99b9fe4deed4eb1a3e82d889115833270c8?branch=f43

            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 4d51e62..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/38/Everything/x86_64/iso/Fedora-Everything-38-1.6-x86_64-CHECKSUM
-HTTP_URL=https://archives.fedoraproject.org/pub/fedora/linux/releases/38/Everything/x86_64/iso/Fedora-Everything-38-1.6-x86_64-CHECKSUM
-CONTENT=4d042dedc8886856db10bc882074b84dcce52f829ea7b3f31d8031db8d84df20
+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-10-23 13:35 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=179276254423.1.7580224499402258596.rpms-curl-abdbb99b9fe4@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