Skip to content

Instantly share code, notes, and snippets.

@sjha4
Created September 18, 2019 20:06
Show Gist options
  • Select an option

  • Save sjha4/1c1a271da7a40fdbba4a5ea72bee556a to your computer and use it in GitHub Desktop.

Select an option

Save sjha4/1c1a271da7a40fdbba4a5ea72bee556a to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
KATELLO_PATH=/home/vagrant/katello
if [[ -n $1 ]]
then
RAKE_PATH=`bundle show rake`
mode=all ruby -I"lib:test:${KATELLO_PATH}/test:${KATELLO_PATH}/spec" -I"${RAKE_PATH}/lib" $@
else
mode=all bundle exec rake test:katello
fi
@sjha4
Copy link
Author

sjha4 commented Nov 30, 2022

You might need to copy the cert info from foreman's settings.yaml to settings.yaml.test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment