mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-10-08 14:36:38 +00:00
Merge pull request #418 from pbr85/fix/post-install-test-journal
fix(tests): load journal helpers in post-install test
This commit is contained in:
@@ -35,6 +35,11 @@ msg_success() { :; }
|
||||
show_proxmenux_logo() { :; }
|
||||
clear() { :; }
|
||||
|
||||
# The scripts record their changes through the journal helpers.
|
||||
PMX_JOURNAL_ROOT="$TEST_ROOT/journal"
|
||||
# shellcheck disable=SC1091
|
||||
source "$SCRIPT_ROOT/../global/pmx_journal.sh"
|
||||
|
||||
sed \
|
||||
-e "s|^LOCAL_SCRIPTS=.*|LOCAL_SCRIPTS=\"$TEST_ROOT/missing-scripts\"|" \
|
||||
-e "s|^BASE_DIR=.*|BASE_DIR=\"$TEST_ROOT/state\"|" \
|
||||
|
||||
Reference in New Issue
Block a user