public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: use a larger file for mkfs.xfs testing
@ 2026-09-11 13:20 Milos Malik
  0 siblings, 0 replies; only message in thread
From: Milos Malik @ 2026-09-11 13:20 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : 289ec8d0b8dab555da3d2c59380a362083910288
            Author : Milos Malik <mmalik@redhat.com>
            Date   : 2022-11-01T10:52:27+01:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/289ec8d0b8dab555da3d2c59380a362083910288?branch=pr775-checkpolicy-revdeps

            Log:
            use a larger file for mkfs.xfs testing

The automated test used to work with 100MB files. Unfortunately,
the mkfs.xfs program started to complain recently:

  Filesystem must be larger than 300MB.

In order to use the automated test successfully in the future,
the allocated space was increased to 400MB.

---
diff --git a/other/mounting/runtest.sh b/other/mounting/runtest.sh
index c8532b3..34b6815 100755
--- a/other/mounting/runtest.sh
+++ b/other/mounting/runtest.sh
@@ -38,7 +38,7 @@ rlJournalStart
         rlAssertRpm "dosfstools"
 
         # create a loopback device
-        rlRun "fallocate -l 100M loop_file"
+        rlRun "fallocate -l 400M loop_file"
         rlRun "losetup -f loop_file"
         rlRun "losetup -l | grep loop_file"
         DEV="$(losetup -l | tail -n 1 | cut -f1 -d' ')"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-11 13:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 13:20 [tests/selinux] pr775-checkpolicy-revdeps: use a larger file for mkfs.xfs testing Milos Malik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox