You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 29, 2021. It is now read-only.
after seeing the screencast by @drnic i'm trying out bats in test-kitchen. But 'im having trouble with the most basic test
#!/usr/bin/env bats
@test "Test if GitHub is in the global ssh_known_hosts file" {
run cat /etc/ssh/ssh_known_hosts | grep github
[ "$status" -eq 0 ]
}
With | grep github -> failure
Without | grep github -> succes but this doesn't test what i want it to test
Running by hand exit value is 0