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
|
2017-08-07 19:09:21 +00:00
|
|
|
set -e
|
2021-04-19 11:01:59 +00:00
|
|
|
|
2015-11-17 11:21:23 +00:00
|
|
|
TEST_DESCRIPTION="Journal-related tests"
|
|
|
|
|
2021-04-19 11:01:59 +00:00
|
|
|
# shellcheck source=test/test-functions
|
|
|
|
. "${TEST_BASE_DIR:?}/test-functions"
|
2015-11-17 11:21:23 +00:00
|
|
|
|
2023-02-08 10:29:49 +00:00
|
|
|
test_append_files() {
|
|
|
|
local workspace="${1:?}"
|
|
|
|
|
|
|
|
mkdir -p "$workspace/test-journals/"
|
|
|
|
cp -av "${TEST_BASE_DIR:?}/test-journals/"* "$workspace/test-journals/"
|
|
|
|
|
|
|
|
inst_binary unzstd
|
|
|
|
}
|
|
|
|
|
2021-04-26 17:20:18 +00:00
|
|
|
do_test "$@"
|