Compare commits
No commits in common. "rawhide" and "f41" have entirely different histories.
8 changed files with 56 additions and 32 deletions
|
|
@ -1 +0,0 @@
|
||||||
1
|
|
||||||
11
attr.spec
11
attr.spec
|
|
@ -1,7 +1,7 @@
|
||||||
Summary: Utilities for managing filesystem extended attributes
|
Summary: Utilities for managing filesystem extended attributes
|
||||||
Name: attr
|
Name: attr
|
||||||
Version: 2.5.2
|
Version: 2.5.2
|
||||||
Release: 7%{?dist}
|
Release: 4%{?dist}
|
||||||
Source0: https://download.savannah.nongnu.org/releases/attr/attr-%{version}.tar.xz
|
Source0: https://download.savannah.nongnu.org/releases/attr/attr-%{version}.tar.xz
|
||||||
Source1: https://download.savannah.nongnu.org/releases/attr/attr-%{version}.tar.xz.sig
|
Source1: https://download.savannah.nongnu.org/releases/attr/attr-%{version}.tar.xz.sig
|
||||||
# Retreived from https://savannah.nongnu.org/people/viewgpg.php?user_id=15000
|
# Retreived from https://savannah.nongnu.org/people/viewgpg.php?user_id=15000
|
||||||
|
|
@ -125,15 +125,6 @@ ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h
|
||||||
%config(noreplace) %{_sysconfdir}/xattr.conf
|
%config(noreplace) %{_sysconfdir}/xattr.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-4
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
summary: Basic smoke test
|
|
||||||
discover:
|
|
||||||
how: fmf
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
||||||
|
|
@ -50,7 +50,7 @@ $(METADATA): Makefile
|
||||||
@echo "Name: $(TEST)" >> $(METADATA)
|
@echo "Name: $(TEST)" >> $(METADATA)
|
||||||
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
||||||
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
||||||
@echo "Description: Test for getfattr ignores NULs in output when using \"text\"" >> $(METADATA)
|
@echo "Description: Test for getfattr ignores NULs in output when using \"text\" >> $(METADATA)
|
||||||
@echo "Type: Sanity" >> $(METADATA)
|
@echo "Type: Sanity" >> $(METADATA)
|
||||||
@echo "TestTime: 5m" >> $(METADATA)
|
@echo "TestTime: 5m" >> $(METADATA)
|
||||||
@echo "RunFor: attr" >> $(METADATA)
|
@echo "RunFor: attr" >> $(METADATA)
|
||||||
|
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
summary: Test for getfattr ignores NULs in output when using "text"
|
|
||||||
description: |
|
|
||||||
Bug summary: getfattr ignores NULs in output when using "text" encoding
|
|
||||||
contact: Jan Scotka <jscotka@redhat.com>
|
|
||||||
component:
|
|
||||||
- attr
|
|
||||||
test: ./runtest.sh
|
|
||||||
framework: beakerlib
|
|
||||||
recommend:
|
|
||||||
- attr
|
|
||||||
duration: 5m
|
|
||||||
extra-summary:
|
|
||||||
/CoreOS/attr/Sanity/getfattr-ignores-NULs-in-output-when-using-text
|
|
||||||
extra-task: /CoreOS/attr/Sanity/getfattr-ignores-NULs-in-output-when-using-text
|
|
||||||
|
|
@ -27,7 +27,8 @@
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
# Include Beaker environment
|
# Include Beaker environment
|
||||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
. /usr/bin/rhts-environment.sh
|
||||||
|
. /usr/lib/beakerlib/beakerlib.sh
|
||||||
|
|
||||||
PACKAGE="attr"
|
PACKAGE="attr"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,38 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# runtest.yml of /CoreOS/attr/Sanity/getfattr-ignores-NULs-in-output-when-using-text
|
||||||
|
# Description: Test for getfattr ignores NULs in output when using "text"
|
||||||
|
# Author: Jan Scotka <jscotka@redhat.com>
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Copyright (c) 2011 Red Hat, Inc. All rights reserved.
|
||||||
|
#
|
||||||
|
# This copyrighted material is made available to anyone wishing
|
||||||
|
# to use, modify, copy, or redistribute it subject to the terms
|
||||||
|
# and conditions of the GNU General Public License version 2.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be
|
||||||
|
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
# PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public
|
||||||
|
# License along with this program; if not, write to the Free
|
||||||
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
# Boston, MA 02110-1301, USA.
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
- hosts: '{{ hosts | default("localhost") }}'
|
||||||
|
vars:
|
||||||
|
package: attr
|
||||||
|
tasks:
|
||||||
|
- name: Check if package exists
|
||||||
|
command: "rpm -q {{ package }}"
|
||||||
|
args:
|
||||||
|
warn: no
|
||||||
|
- name: Runtest
|
||||||
|
shell: "getfattr -e text -d -m - /usr/bin/getfattr | grep 'security.selinux=\".*\"'"
|
||||||
14
tests/tests.yml
Normal file
14
tests/tests.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
# This first play always runs on the local staging system
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-beakerlib
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
- atomic
|
||||||
|
tests:
|
||||||
|
- getfattr-ignores-NULs-in-output-when-using-text
|
||||||
|
required_packages:
|
||||||
|
- attr # getfattr-ignores-NULs-in-output-when-using-text requires attr package
|
||||||
|
- rpm-build # Upstream test requires rpmbuild
|
||||||
|
- gettext # Upstream test requires gettext
|
||||||
Loading…
Add table
Add a link
Reference in a new issue