mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-24 14:06:47 +01:00
tests: add groupmod.
Some checks failed
Ubuntu / check (push) Has been cancelled
Ubuntu / build (default, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (default, ubuntu-24.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Has been cancelled
Ubuntu / tests (push) Has been cancelled
Some checks failed
Ubuntu / check (push) Has been cancelled
Ubuntu / build (default, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (default, ubuntu-24.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Has been cancelled
Ubuntu / tests (push) Has been cancelled
This commit is contained in:
parent
685105a662
commit
2332f71b17
1 changed files with 9 additions and 1 deletions
|
@ -17,8 +17,16 @@ load common
|
|||
sudo groupadd --gid 3000 user3
|
||||
}
|
||||
|
||||
@test "groupmod: Change the group name" {
|
||||
sudo groupmod --new-name user22 user2
|
||||
}
|
||||
|
||||
@test "groupmod: Change the group ID" {
|
||||
sudo groupmod --gid 2222 user22
|
||||
}
|
||||
|
||||
@test "groupdel: Delete newly created group" {
|
||||
sudo groupdel user2
|
||||
sudo groupdel user22
|
||||
sudo groupdel system2
|
||||
sudo groupdel user3
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue