mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
24 lines
480 B
Bash
Executable File
24 lines
480 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
set -e
|
|
|
|
TEST_DESCRIPTION="Journal-related tests"
|
|
|
|
# shellcheck source=test/test-functions
|
|
. "${TEST_BASE_DIR:?}/test-functions"
|
|
|
|
test_append_files() {
|
|
local workspace="${1:?}"
|
|
|
|
mkdir -p "$workspace/test-journals/"
|
|
cp -av "${TEST_BASE_DIR:?}/test-journals/"* "$workspace/test-journals/"
|
|
|
|
inst_binary unzstd
|
|
|
|
(
|
|
command -v logger >/dev/null 2>&1 && inst_binary logger
|
|
)
|
|
}
|
|
|
|
do_test "$@"
|