Files
snapd/tests/main
Alberto Mardegan b98ddd803e i/b/mount-control: add optional / to umount rules (#12168)
* i/b/mount-control: add optional `/` to umount rules

In commit a10ecaaaaf we added an optional
`/` at the end of the AppArmor mount rules, since AppArmor is rather
strict on them.

Indeed, the same applies to umount rules.

* tests: improve mount-control spread tests

Diversify the paths in the "where" attributes, otherwise a
value like "$SNAP_COMMON/**" would hide potential errors in the "where"
attributes of other mount entries -- as indeed has been the case until
now, when we realized of the `/` missing at the end of the umount rules
(see the previous commit).

* tests: improve mount-control tests with review comments

Add a "/" to a mount point to verify that it's irrelevant.
2022-09-27 17:45:11 +02:00
..
2021-06-09 18:03:24 -03:00
2021-05-17 19:11:12 -03:00
2021-04-13 07:13:20 -03:00
2021-09-16 19:01:39 +01:00
2021-05-26 14:29:24 -03:00
2021-07-23 15:44:43 -03:00
2021-04-21 09:08:50 -03:00
2021-03-10 08:41:31 -03:00
2022-07-14 00:22:15 -03:00
2022-07-14 00:22:15 -03:00
2021-04-21 09:08:50 -03:00
2021-04-21 09:08:50 -03:00
2021-06-09 18:03:24 -03:00
2021-03-04 09:27:19 -03:00
2021-04-21 09:08:50 -03:00
2021-04-08 15:05:29 -03:00
2021-08-31 14:49:47 -03:00