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] f44: fix non-root-user-download test: use stable URLs, enable SSH password auth
Date: Fri, 23 Oct 2026 13:35:21 GMT [thread overview]
Message-ID: <179276252137.1.8904785835034862284.rpms-curl-1c9bf3be232d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : f44
Commit : 1c9bf3be232d8e1f81b28372a4c901b5141c4832
Author : Jan Macku <jamacku@redhat.com>
Date : 2026-10-16T14:10:22+02:00
Stats : +5/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/1c9bf3be232d8e1f81b28372a4c901b5141c4832?branch=f44
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-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=179276252137.1.8904785835034862284.rpms-curl-1c9bf3be232d@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