fix misc/selinux root-only test(#550494)

This commit is contained in:
Ondrej Vasik 2009-12-27 11:40:37 +00:00
parent 99cafffe10
commit 437c9e4ea2
2 changed files with 5 additions and 2 deletions

View File

@ -802,7 +802,7 @@ diff -urNp coreutils-8.1-orig/tests/misc/selinux coreutils-8.1/tests/misc/selinu
# inspect that context with both ls -Z and stat.
for i in d f p; do
- c=`ls -dogZ $i|cut -d' ' -f3`; test x$c = x$ctx || fail=1
+ c=`ls -dogZ $i|cut -d' ' -f5`; test x$c = x$ctx || fail=1
+ c=`ls -dogZ $i|cut -d' ' -f4`; test x$c = x$ctx || fail=1
c=`stat --printf %C $i`; test x$c = x$ctx || fail=1
done

View File

@ -1,7 +1,7 @@
Summary: A set of basic GNU tools commonly used in shell scripts
Name: coreutils
Version: 8.2
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv3+
Group: System Environment/Base
Url: http://www.gnu.org/software/coreutils/
@ -331,6 +331,9 @@ fi
%{_libdir}/coreutils
%changelog
* Sun Dec 27 2009 Ondrej Vasik <ovasik@redhat.com> - 8.2-5
- fix misc/selinux root-only test(#550494)
* Sat Dec 19 2009 Ondrej Vasik <ovasik@redhat.com> - 8.2-4
- bring back uname -p/-i functionality except of the
athlon hack(#548834)