apparmor.d/tests/bats/w.bats

15 lines
331 B
Text
Raw Normal View History

#!/usr/bin/env bats
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
load common
@test "w: Display information about all users who are currently logged in" {
w
}
@test "w: Display information about a specific user" {
w root
}