[lvm-devel] master - tests: fsadm-crypt.sh update mkfs parameter

David Teigland teigland at sourceware.org
Tue May 21 19:47:15 UTC 2019


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=78afe75b08c01e70d52e42b62acf0d6eab7874dc
Commit:        78afe75b08c01e70d52e42b62acf0d6eab7874dc
Parent:        cf3f46392940391d8a27d969125d7ca9c4c5bebc
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Tue May 21 14:46:01 2019 -0500
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Tue May 21 14:46:01 2019 -0500

tests: fsadm-crypt.sh update mkfs parameter

mkfs.xfs was rejecting previously working value
---
 test/shell/fsadm-crypt.sh |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/shell/fsadm-crypt.sh b/test/shell/fsadm-crypt.sh
index 68fed95..9377e89 100644
--- a/test/shell/fsadm-crypt.sh
+++ b/test/shell/fsadm-crypt.sh
@@ -268,7 +268,7 @@ test_ext3_small_shrink() {
 }
 
 test_xfs_resize() {
-	mkfs.xfs -l internal,size=1000b -f "$3"
+	mkfs.xfs -l internal,size=1536b -f "$3"
 
 	fsadm --lvresize resize $1 30M
 	# Fails - not enough space for 4M fs
@@ -283,7 +283,7 @@ test_xfs_resize() {
 }
 
 test_xfs_small_shrink() {
-	mkfs.xfs -l internal,size=1000b -f "$3"
+	mkfs.xfs -l internal,size=1536b -f "$3"
 
 	not lvresize -L-1 -r $1
 	fscheck_xfs "$3"
@@ -347,7 +347,7 @@ test_ext3_inactive() {
 
 test_xfs_inactive() {
 	crypt_open "$2" $PWD2 "$4"
-	mkfs.xfs -l internal,size=1000b -f "$3"
+	mkfs.xfs -l internal,size=1536b -f "$3"
 	crypt_close "$4"
 
 	not fsadm --lvresize resize $1 30M
@@ -428,7 +428,7 @@ test_ext3_plain() {
 }
 
 test_xfs_plain() {
-	mkfs.xfs -l internal,size=1000b -f "$3"
+	mkfs.xfs -l internal,size=1536b -f "$3"
 
 	not fsadm --lvresize resize $1 30M
 	not lvresize -L+10M -r $1
@@ -494,7 +494,7 @@ test_ext3_detached() {
 }
 
 test_xfs_detached() {
-	mkfs.xfs -l internal,size=1000b -f "$3"
+	mkfs.xfs -l internal,size=1536b -f "$3"
 
 	not fsadm --lvresize resize $1 30M
 	not lvresize -L+10M -r $1




More information about the lvm-devel mailing list