mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Use larger loop device in mult_mount.sh test
This fixes the test to pass on openSUSE Tumbleweed, where the small size prevented alloction of an inode for the `lost+found` directory: ``` garden:opensuse-cloud-tumbleweed .../tests/regression/apparmor# mkfs.ext2 -F -m 0 -N 10 /tmp/sdtest.32929-21402-6x826m/image.ext3 mke2fs 1.47.0 (5-Feb-2023) Discarding device blocks: done Creating filesystem with 512 1k blocks and 8 inodes Allocating group tables: done Writing inode tables: done ext2fs_mkdir: Could not allocate inode in ext2 filesystem while creating /lost+found ``` Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
This commit is contained in:
parent
92fcdcab9e
commit
32ee85cef8
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ mkdirperm_fail=r
|
||||||
linkperm=rl
|
linkperm=rl
|
||||||
readperm=r
|
readperm=r
|
||||||
|
|
||||||
dd if=/dev/zero of=$image bs=4096 count=128 > /dev/null 2>&1
|
dd if=/dev/zero of=$image bs=4096 count=4096 > /dev/null 2>&1
|
||||||
mkfs.ext2 -F -m 0 -N 10 $image > /dev/null 2>&1
|
mkfs.ext2 -F -m 0 -N 10 $image > /dev/null 2>&1
|
||||||
|
|
||||||
mkdir $mp1 $mp2
|
mkdir $mp1 $mp2
|
||||||
|
|
Loading…
Add table
Reference in a new issue