File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,12 +8,13 @@ echo "TODO: Uncomment set -e to make tests start failing"
88echo " These tests expect cfengine CLI to be installed globally or in venv"
99
1010echo " Looking for CFEngine CLI:"
11- which cfengine
11+ cfengine --version
1212
1313echo " Check that input and expected files exist:"
1414ls -al tests/format/* .input.cf
1515ls -al tests/format/* .expected.cf
1616
17+ rm -rf tmp
1718mkdir -p tmp
1819
1920echo " Check that input files match expected files:"
Original file line number Diff line number Diff line change 66echo " These tests expect cfengine CLI to be installed globally or in venv"
77
88echo " Looking for CFEngine CLI:"
9- which cfengine
9+ cfengine --version
1010
1111echo " Check that test files are in expected location:"
1212ls -al tests/lint/* .cf
1313
14+ rm -rf tmp
1415mkdir -p tmp
1516
1617echo " Run lint tests:"
Original file line number Diff line number Diff line change 66echo " These tests expect cfengine CLI to be installed globally or in venv"
77
88echo " Looking for CFEngine CLI:"
9- which cfengine
9+ cfengine --version
1010
1111echo " Check that test files are in expected location:"
1212ls -al tests/shell/* .sh
1313ls -al tests/shell/00* .sh
1414
15+ rm -rf tmp
1516mkdir -p tmp
1617
1718echo " Run shell tests:"
You can’t perform that action at this time.
0 commit comments