tests: cleanup the basic structure of integration tests.

This commit is contained in:
Alexandre Pujol 2024-11-19 21:13:25 +00:00
parent 206bc3473d
commit 7b4e01217b
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
46 changed files with 50 additions and 502 deletions

View file

@ -5,55 +5,35 @@
load common
setup_file() {
aa_setup
}
# bats test_tags=uname
@test "uname: Print all information" {
uname --all
aa_check
}
# bats test_tags=uname
@test "uname: Print the current kernel name" {
uname --kernel-name
aa_check
}
# bats test_tags=uname
@test "uname: Print the current network node host name" {
uname --nodename
aa_check
}
# bats test_tags=uname
@test "uname: Print the current kernel release" {
uname --kernel-release
aa_check
}
# bats test_tags=uname
@test "uname: Print the current kernel version" {
uname --kernel-version
aa_check
}
# bats test_tags=uname
@test "uname: Print the current machine hardware name" {
uname --machine
aa_check
}
# bats test_tags=uname
@test "uname: Print the current processor type" {
uname --processor
aa_check
}
# bats test_tags=uname
@test "uname: Print the current operating system name" {
uname --operating-system
aa_check
}