diff --git a/tests/bats/chsh.bats b/tests/bats/chsh.bats index a9f5a6978..81a9f76a6 100644 --- a/tests/bats/chsh.bats +++ b/tests/bats/chsh.bats @@ -5,15 +5,15 @@ load common -@test "chsh: [l]ist available shells" { +@test "chsh: list available shells" { chsh --list-shells || true } -@test "chsh: Set a specific login [s]hell for the current user" { +@test "chsh: Set a specific login shell for the current user" { echo "$PASSWORD" | chsh --shell /usr/bin/bash } # bats test_tags=chsh -@test "chsh: Set a login [s]hell for a specific user" { +@test "chsh: Set a login shell for a specific user" { sudo chsh --shell /usr/bin/sh root } diff --git a/tests/boxes.yml b/tests/boxes.yml index ef037e07f..532c5e18f 100644 --- a/tests/boxes.yml +++ b/tests/boxes.yml @@ -2,7 +2,7 @@ defaults: uefi: true - ram: '4096' + ram: '3072' cpu: '6' boxes: diff --git a/tests/cmd/main.go b/tests/cmd/main.go index eb88de1ec..e7e620b00 100644 --- a/tests/cmd/main.go +++ b/tests/cmd/main.go @@ -88,7 +88,8 @@ func run() error { } logging.Bullet("Bats tests directory: %s", cfg.BatsDir) - logging.Bullet("Number of tests found %d", len(tests)) + logging.Bullet("Number of profiles with tests found %d", len(tests)) + logging.Bullet("Number of programs without profile found %d", len(tests)) return nil } diff --git a/tests/requirements.sh b/tests/requirements.sh index c12f9249c..c22e70108 100644 --- a/tests/requirements.sh +++ b/tests/requirements.sh @@ -19,7 +19,7 @@ arch) ;; debian | ubuntu | whonix) sudo apt-get install -y \ - cpuid dfc systemd-userdbd systemd-homed tlp + cpuid dfc systemd-userdbd systemd-homed tlp network-manager ;; opensuse*) ;;