mirror of
https://github.com/turbot/steampipe.git
synced 2026-03-21 16:00:13 -04:00
17 lines
461 B
Bash
17 lines
461 B
Bash
load "$LIB_BATS_ASSERT/load.bash"
|
|
load "$LIB_BATS_SUPPORT/load.bash"
|
|
|
|
@test "verify steampipe_server_settings table" {
|
|
run steampipe query "select * from steampipe_server_settings"
|
|
assert_success
|
|
}
|
|
|
|
function teardown_file() {
|
|
# list running processes
|
|
ps -ef | grep steampipe
|
|
|
|
# check if any processes are running
|
|
num=$(ps aux | grep steampipe | grep -v bats | grep -v grep | grep -v tests/acceptance | wc -l | tr -d ' ')
|
|
assert_equal $num 0
|
|
}
|