2020-03-04 09:35:06 +00:00
|
|
|
#!/usr/bin/env bash
|
2021-10-17 16:13:06 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2019-11-13 18:32:24 +00:00
|
|
|
set -e
|
2021-04-19 11:01:59 +00:00
|
|
|
|
2019-11-13 18:32:24 +00:00
|
|
|
TEST_DESCRIPTION="Test PrivateUsers=yes on user manager"
|
2022-03-09 02:07:34 +00:00
|
|
|
IMAGE_NAME="private-users"
|
2021-04-19 11:01:59 +00:00
|
|
|
|
|
|
|
# shellcheck source=test/test-functions
|
|
|
|
. "${TEST_BASE_DIR:?}/test-functions"
|
2019-11-13 18:32:24 +00:00
|
|
|
|
|
|
|
has_user_dbus_socket || exit 0
|
2023-06-02 19:10:08 +00:00
|
|
|
test_require_bin mksquashfs
|
2022-03-09 02:07:34 +00:00
|
|
|
|
|
|
|
test_append_files() {
|
2023-05-14 11:13:24 +00:00
|
|
|
inst_binary unsquashfs
|
|
|
|
install_verity_minimal
|
2022-03-09 02:07:34 +00:00
|
|
|
}
|
2019-11-13 18:32:24 +00:00
|
|
|
|
2021-04-26 17:20:18 +00:00
|
|
|
do_test "$@"
|