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
3 changes: 2 additions & 1 deletion tests/run-format-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ echo "TODO: Uncomment set -e to make tests start failing"
echo "These tests expect cfengine CLI to be installed globally or in venv"

echo "Looking for CFEngine CLI:"
which cfengine
cfengine --version

echo "Check that input and expected files exist:"
ls -al tests/format/*.input.cf
ls -al tests/format/*.expected.cf

rm -rf tmp
mkdir -p tmp

echo "Check that input files match expected files:"
Expand Down
3 changes: 2 additions & 1 deletion tests/run-lint-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ set -e
echo "These tests expect cfengine CLI to be installed globally or in venv"

echo "Looking for CFEngine CLI:"
which cfengine
cfengine --version

echo "Check that test files are in expected location:"
ls -al tests/lint/*.cf

rm -rf tmp
mkdir -p tmp

echo "Run lint tests:"
Expand Down
3 changes: 2 additions & 1 deletion tests/run-shell-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ set -e
echo "These tests expect cfengine CLI to be installed globally or in venv"

echo "Looking for CFEngine CLI:"
which cfengine
cfengine --version

echo "Check that test files are in expected location:"
ls -al tests/shell/*.sh
ls -al tests/shell/00*.sh

rm -rf tmp
mkdir -p tmp

echo "Run shell tests:"
Expand Down
Loading