apparmor/tests
John Johansen 8e431ebcd9 Merge regression tests: make loop device size more generous
Depending on the system, copying echo to the loop device fails because the echo binary is too large.
Especially on systems that have echo be just a symlink to coreutils (e.g. busybox) (as opposed to echo being its own binary) 16k is just not enough.
2M seems fine on my system, but this might need yet a higher value depending on what coreutils other people actually run.

The crash in question:
```
cp: error writing '/tmp/sdtest.3937422-31490-Bxvi6g/mount_target/echo': No space left on device
Fatal Error (file_unbindable_mount): Unexpected shell error. Run with -x to debug
rm: cannot remove '/tmp/sdtest.3937422-31490-Bxvi6g/mount_target': Device or resource busy
```

MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1469
Approved-by: John Johansen <john@jjmx.net>
Merged-by: John Johansen <john@jjmx.net>
2024-12-20 08:53:41 +00:00
..
bin Break lines before binary operators. 2022-08-21 11:15:07 -04:00
regression Merge regression tests: make loop device size more generous 2024-12-20 08:53:41 +00:00
snapd/mount-control tests: add regression tests for snapd mount-control 2024-12-09 14:55:03 +01:00
stress tests: fix make clean target 2018-11-16 14:16:07 -08:00
unit Third iteration of spread support 2024-12-05 02:17:07 +01:00
checkstyle2junit.xslt CI: add shellcheck job, with minimum severity set to error 2022-02-13 19:43:48 +00:00
Makefile all: Use the MAKE variable 2017-11-01 23:22:53 +00:00