Message ID | 20170315163325.29651-1-jtulak@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/tests/xfs/191-input-validation b/tests/xfs/191-input-validation index cff3efa9..5de55170 100755 --- a/tests/xfs/191-input-validation +++ b/tests/xfs/191-input-validation @@ -65,10 +65,12 @@ SCRATCH_LOGDEV= SCRATCH_RTDEV= # limit the image size of the filesystem being created to something small -fssize=$((4 * 1024 * 1024 * 1024)) -logsize=$((4 * 1024 * 1024 * 100)) +fssize=$((400 * 1024 * 1024 )) +logsize=$((40 * 1024 * 1024 )) fsimg=$TEST_DIR/$seq.img +_require_fs_space $TEST_DIR $(( (fssize + (logsize*2))/1024 )) + do_mkfs_pass() { echo >> $seqres.full
Add a _require_fs_space and make the necessary size smaller. It should work the same with 400 MB instead of 4 GB, and it will have less issues on small VMs. Signed-off-by: Jan Tulak <jtulak@redhat.com> --- tests/xfs/191-input-validation | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)