feat(profile): add free

This commit is contained in:
Alexandre Pujol 2025-07-07 00:19:35 +02:00
parent 8042dd4a34
commit 6b5fad404b
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,18 @@
#!/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 "free: Display system memory" {
free
}
@test "free: Display memory in GB" {
free -g
}
@test "free: Display memory in human-readable units" {
free -h
}