Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/run-up-validate-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@ ls -al tests/up-validate/*.yaml

rm -rf tmp
mkdir -p tmp/bin
mkdir -p tmp/home/.cfengine/cf-remote
mkdir -p tmp/home/.config/cfengine/cf-remote
mkdir -p tmp/home/.cache/cfengine/cf-remote

# Mocking vagrant
cp tests/up-validate/mocks/vagrant tmp/bin/.
CURRENT_PWD=$(pwd)
export PATH="$CURRENT_PWD/tmp/bin:$PATH"

# Mocking cloud_config.json
cp tests/up-validate/mocks/cloud_config.json tmp/home/.cfengine/cf-remote/.
cp tests/up-validate/mocks/cloud_config.json tmp/home/.config/cfengine/cf-remote/.
MOCK_HOME="$CURRENT_PWD/tmp/home"

shopt -s extglob
Expand All @@ -45,4 +46,3 @@ done


echo "All cfengine up --validate tests successful!"

36 changes: 18 additions & 18 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading