do not fail tests if there are no loopdevices left(#558898)
This commit is contained in:
parent
f27ce018bd
commit
6a2111b547
@ -105,3 +105,25 @@ diff -urNp coreutils-8.4-orig/tests/touch/no-dereference coreutils-8.4/tests/tou
|
||||
|
||||
# Changing time of dangling symlink is okay.
|
||||
# Skip the test if this fails, but the error text corresponds to
|
||||
diff -urNp coreutils-8.4-orig/tests/cp/cp-a-selinux coreutils-8.4/tests/cp/cp-a-selinux
|
||||
--- coreutils-8.4-orig/tests/cp/cp-a-selinux 2010-01-03 18:06:20.000000000 +0100
|
||||
+++ coreutils-8.4/tests/cp/cp-a-selinux 2010-01-29 09:39:43.000000000 +0100
|
||||
@@ -48,12 +48,15 @@ ls -Z f | grep $ctx || fail=1
|
||||
|
||||
# Create a file system, then mount it with the context=... option.
|
||||
dd if=/dev/zero of=blob bs=8192 count=200 > /dev/null 2>&1 \
|
||||
- || framework_failure
|
||||
-mkdir mnt || framework_failure
|
||||
+ || skip=1
|
||||
+mkdir mnt || skip=1
|
||||
mkfs -t ext2 -F blob ||
|
||||
skip_test_ "failed to create an ext2 file system"
|
||||
|
||||
-mount -oloop,context=$ctx blob mnt || framework_failure
|
||||
+mount -oloop,context=$ctx blob mnt || skip=1
|
||||
+test $skip = 1 \
|
||||
+ && skip_test_ "insufficient mount/ext2 support"
|
||||
+
|
||||
cd mnt || framework_failure
|
||||
|
||||
echo > f || framework_failure
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: A set of basic GNU tools commonly used in shell scripts
|
||||
Name: coreutils
|
||||
Version: 8.4
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv3+
|
||||
Group: System Environment/Base
|
||||
Url: http://www.gnu.org/software/coreutils/
|
||||
@ -337,6 +337,10 @@ fi
|
||||
%{_libdir}/coreutils
|
||||
|
||||
%changelog
|
||||
* Fri Jan 29 2010 Ondrej Vasik <ovasik@redhat.com> - 8.4-3
|
||||
- do not fail tests if there are no loopdevices left
|
||||
(#558898)
|
||||
|
||||
* Tue Jan 26 2010 Ondrej Vasik <ovasik@redhat.com> - 8.4-2
|
||||
- who doesn't determine user's message status correctly
|
||||
(#454261)
|
||||
|
Loading…
Reference in New Issue
Block a user