Compare commits
No commits in common. "main" and "contiguous-rodata-sections" have entirely different histories.
main
...
contiguous
7 changed files with 0 additions and 152 deletions
|
|
@ -1,8 +1,6 @@
|
||||||
#include <nss.h>
|
#include <nss.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
extern int NSS_NoDB_Init(void*);
|
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
NSS_NoDB_Init(NULL);
|
NSS_NoDB_Init(NULL);
|
||||||
|
|
|
||||||
|
|
@ -45,10 +45,6 @@ adjust:
|
||||||
- enabled: false
|
- enabled: false
|
||||||
when: arch != x86_64
|
when: arch != x86_64
|
||||||
|
|
||||||
# No i686 in RHEL-10+
|
|
||||||
- enabled: false
|
|
||||||
when: distro >= rhel-10
|
|
||||||
|
|
||||||
# Testing farm does not support installing i686 packages in bodhi update testing,
|
# Testing farm does not support installing i686 packages in bodhi update testing,
|
||||||
# so we disable this test there until that capacity is implemented.
|
# so we disable this test there until that capacity is implemented.
|
||||||
- enabled: false
|
- enabled: false
|
||||||
|
|
|
||||||
|
|
@ -26,10 +26,6 @@ adjust:
|
||||||
- enabled: false
|
- enabled: false
|
||||||
when: arch != x86_64
|
when: arch != x86_64
|
||||||
|
|
||||||
# No i686 in RHEL-10+
|
|
||||||
- enabled: false
|
|
||||||
when: distro >= rhel-10
|
|
||||||
|
|
||||||
# Testing farm does not support installing i686 packages in bodhi update testing,
|
# Testing farm does not support installing i686 packages in bodhi update testing,
|
||||||
# so we disable this test there until that capacity is implemented.
|
# so we disable this test there until that capacity is implemented.
|
||||||
- enabled: false
|
- enabled: false
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
summary: Make sure dnf installs weak dep packages (such as valgrind + valgrind-scripts)
|
|
||||||
test: ./runtest.sh
|
|
||||||
framework: beakerlib
|
|
||||||
require:
|
|
||||||
- rpm-build
|
|
||||||
- createrepo
|
|
||||||
|
|
@ -1,50 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
|
||||||
|
|
||||||
DNFSWITCHES="--disablerepo=\* --enablerepo=mytestingrepo"
|
|
||||||
|
|
||||||
rlJournalStart
|
|
||||||
rlPhaseStartSetup
|
|
||||||
rlRun "dnf -y remove trivial-empty\* ||:"
|
|
||||||
rlRun "rm /etc/yum.repos.d/mytestingrepo.repo ||:"
|
|
||||||
rlPhaseEnd
|
|
||||||
|
|
||||||
rlPhaseStartTest
|
|
||||||
rlRun "rpmbuild -ba trivial-empty-v1.spec"
|
|
||||||
rlRun "rpmbuild -ba trivial-empty-v2.spec"
|
|
||||||
rlRun "a=$(rpm -E '%_arch')"
|
|
||||||
rlRun "pushd $HOME/rpmbuild/RPMS/$a"
|
|
||||||
rlRun "createrepo ."
|
|
||||||
rlRun "popd"
|
|
||||||
rlRun "rpm -Uvh --nosignature $HOME/rpmbuild/RPMS/$a/trivial-empty-1.0-1*"
|
|
||||||
rlRun "rpm -qa | grep -F trivial-empty-sub" 1
|
|
||||||
rlRun "rpm -qa | grep -F trivial-empty-1.0-1"
|
|
||||||
rlRun "rpm -qa | grep -F trivial-empty-1.0-2" 1
|
|
||||||
cat > /etc/yum.repos.d/mytestingrepo.repo <<EOF
|
|
||||||
[mytestingrepo]
|
|
||||||
name=mytestingrepo
|
|
||||||
baseurl=file:///$HOME/rpmbuild/RPMS/$a
|
|
||||||
gpgcheck=0
|
|
||||||
enabled=1
|
|
||||||
EOF
|
|
||||||
rlRun "cat /etc/yum.repos.d/mytestingrepo.repo"
|
|
||||||
rlRun "dnf $DNFSWITCHES clean all"
|
|
||||||
rlRun "dnf $DNFSWITCHES -y update trivial-empty"
|
|
||||||
rlRun "rpm -qa | grep -F trivial-empty-1.0-1" 1
|
|
||||||
rlRun "rpm -qa | grep -F trivial-empty-1.0-2"
|
|
||||||
# The gist of this test is to make sure the following
|
|
||||||
# trivial-empty-sub-1.0-2 is now installed as a weak dep
|
|
||||||
rlRun "rpm -qa | grep -F trivial-empty-sub-1.0-2"
|
|
||||||
# Since it's a weak dep, it should be possible to remove
|
|
||||||
# trivial-empty-sub now, and the trivial-empty should still
|
|
||||||
# be installed
|
|
||||||
rlRun "dnf $DNFSWITCHES remove -y trivial-empty-sub"
|
|
||||||
rlRun "rpm -qa | grep -F trivial-empty-1.0-2"
|
|
||||||
rlRun "rpm -qa | grep -F trivial-empty-sub-1.0-2" 1
|
|
||||||
rlPhaseEnd
|
|
||||||
|
|
||||||
rlPhaseStartCleanup
|
|
||||||
rlRun "dnf -y remove trivial-empty\*"
|
|
||||||
rlRun "rm /etc/yum.repos.d/mytestingrepo.repo"
|
|
||||||
rlPhaseEnd
|
|
||||||
rlJournalEnd
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
||||||
Name: trivial-empty
|
|
||||||
Version: 1.0
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Epoch: 1
|
|
||||||
Summary: A trivial RPM package with an empty payload
|
|
||||||
|
|
||||||
License: MIT
|
|
||||||
BuildArch: %_arch
|
|
||||||
|
|
||||||
# Description of the package
|
|
||||||
%description
|
|
||||||
This is a trivial RPM package with no payload. It serves as an example
|
|
||||||
of how to create an RPM specfile with minimal content.
|
|
||||||
|
|
||||||
# Prep stage: nothing to prepare
|
|
||||||
%prep
|
|
||||||
# Empty section
|
|
||||||
|
|
||||||
# Build stage: nothing to build
|
|
||||||
%build
|
|
||||||
# Empty section
|
|
||||||
|
|
||||||
# Install stage: nothing to install
|
|
||||||
%install
|
|
||||||
# Empty section
|
|
||||||
|
|
||||||
# Files: no files to include
|
|
||||||
%files
|
|
||||||
# Empty section
|
|
||||||
|
|
||||||
# Changelog for the RPM package
|
|
||||||
%changelog
|
|
||||||
* Thu Jan 16 2025 Example Maintainer <example@example.com> - 1.0-1
|
|
||||||
- Initial creation of a trivial RPM with no payload
|
|
||||||
|
|
@ -1,52 +0,0 @@
|
||||||
Name: trivial-empty
|
|
||||||
Version: 1.0
|
|
||||||
Release: 2%{?dist}
|
|
||||||
Epoch: 1
|
|
||||||
Summary: A trivial RPM package with an empty payload
|
|
||||||
|
|
||||||
License: MIT
|
|
||||||
BuildArch: %_arch
|
|
||||||
|
|
||||||
# Set weak dependency on trivial-empty-sub which is a new subpackage
|
|
||||||
# introduced within this update
|
|
||||||
Recommends: trivial-empty-sub = %{epoch}:%{version}-%{release}
|
|
||||||
# Requires: trivial-empty-sub = %{epoch}:%{version}-%{release}
|
|
||||||
|
|
||||||
# Description of the package
|
|
||||||
%description
|
|
||||||
This is a trivial RPM package with no payload. It serves as an example
|
|
||||||
of how to create an RPM specfile with minimal content.
|
|
||||||
|
|
||||||
%package sub
|
|
||||||
Summary: A trivial RPM subpackage with an empty payload
|
|
||||||
# Description for the subpackage
|
|
||||||
%description sub
|
|
||||||
This is a subpackage of trivial-empty, with an empty payload.
|
|
||||||
|
|
||||||
# Prep stage: nothing to prepare
|
|
||||||
%prep
|
|
||||||
# Empty section
|
|
||||||
|
|
||||||
# Build stage: nothing to build
|
|
||||||
%build
|
|
||||||
# Empty section
|
|
||||||
|
|
||||||
# Install stage: nothing to install
|
|
||||||
%install
|
|
||||||
# Empty section
|
|
||||||
|
|
||||||
# Files: no files to include
|
|
||||||
%files
|
|
||||||
# Empty section
|
|
||||||
|
|
||||||
# Subpackage files: no files to include
|
|
||||||
%files sub
|
|
||||||
# Empty section
|
|
||||||
|
|
||||||
# Changelog for the RPM package
|
|
||||||
%changelog
|
|
||||||
* Thu Jan 16 2025 Example Maintainer <example@example.com> - 1.0-2
|
|
||||||
- Initial creation of the trivial RPM with no payload
|
|
||||||
|
|
||||||
* Thu Jan 16 2025 Example Maintainer <example@example.com> - 1.0-1
|
|
||||||
- Initial creation of a trivial RPM with no payload
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue