public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: fix non-root-user-download test: use stable URLs, enable SSH password auth
@ 2026-11-03 12:40 Jan Macku
  0 siblings, 0 replies; only message in thread
From: Jan Macku @ 2026-11-03 12:40 UTC (permalink / raw)
  To: git-commits

            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

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

only message in thread, other threads:[~2026-11-03 12:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:40 [rpms/curl] curl-v8.23.0-3: fix non-root-user-download test: use stable URLs, enable SSH password auth Jan Macku

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