- tests: Change minimum size to 256MiB for t1700-probe-fs

This commit is contained in:
Brian C. Lane 2014-11-07 11:21:32 -08:00
parent 0417c3cdb2
commit 00c01769a8
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,27 @@
From 17630fc4d523d9c03af87a6e735599e88a032e2a Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Fri, 7 Nov 2014 11:15:55 -0800
Subject: [PATCH] tests: Change minimum size to 256MiB
btrfs on ppc64 wants 136MiB so expand the minimum temp filesystem size
for the t1700-probe-fs test.
---
tests/t1700-probe-fs.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/t1700-probe-fs.sh b/tests/t1700-probe-fs.sh
index 574d6fe..94ed9ae 100755
--- a/tests/t1700-probe-fs.sh
+++ b/tests/t1700-probe-fs.sh
@@ -21,7 +21,7 @@ require_512_byte_sector_size_
dev=loop-file
ss=$sector_size_
-n_sectors=$((257*1024))
+n_sectors=$((512*1024))
for type in ext2 ext3 ext4 btrfs xfs nilfs2 ntfs vfat hfsplus; do
--
1.9.3

View File

@ -4,7 +4,7 @@
Summary: The GNU disk partition manipulation program
Name: parted
Version: 3.2
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv3+
Group: Applications/System
URL: http://www.gnu.org/software/parted
@ -20,6 +20,7 @@ Patch0003: 0003-libparted-also-link-to-UUID_LIBS.patch
Patch0004: 0004-lib-fs-resize-Prevent-crash-resizing-FAT16-file-syst.patch
Patch0005: 0005-tests-t3000-resize-fs.sh-Add-FAT16-resizing-test.patch
Patch0006: 0006-tests-t3000-resize-fs.sh-Add-requirement-on-mkfs.vfa.patch
Patch0007: 0007-tests-Change-minimum-size-to-256MiB.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: e2fsprogs-devel
@ -161,6 +162,9 @@ fi
%changelog
* Fri Nov 07 2014 Brian C. Lane <bcl@redhat.com> 3.2-5
- tests: Change minimum size to 256MiB for t1700-probe-fs
* Fri Oct 31 2014 Brian C. Lane <bcl@redhat.com> 3.2-4
- Update to current master commit ac74b83 to fix fat16 resize (#1159083)
- tests: t3000-resize-fs.sh: Add requirement on mkfs.vfat (mike.fleetwood)