Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
389da92ea2 | ||
|
|
0adfe3b1f7 | ||
|
|
eb00888c47 |
||
|
|
d35ab24640 |
||
|
|
3b62488ca5 | ||
|
|
b8e292a132 |
8 changed files with 35 additions and 56 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
1
|
||||||
14
attr.spec
14
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: 3%{?dist}
|
Release: 7%{?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,6 +125,18 @@ 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
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-3
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
5
plans/ci.fmf
Normal file
5
plans/ci.fmf
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
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)
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
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,8 +27,7 @@
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
# Include Beaker environment
|
# Include Beaker environment
|
||||||
. /usr/bin/rhts-environment.sh
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
. /usr/lib/beakerlib/beakerlib.sh
|
|
||||||
|
|
||||||
PACKAGE="attr"
|
PACKAGE="attr"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
||||||
#!/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=\".*\"'"
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
---
|
|
||||||
# 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