chrony/test/system/006-privdrop
Miroslav Lichvar 86a99bb257 test: use env in shebang of system tests
This should allow the tests to run on systems where bash is not in /bin.
2019-04-26 10:54:02 +02:00

17 lines
287 B
Bash
Executable file

#!/usr/bin/env bash
. ./test.common
check_chronyd_features PRIVDROP || test_skip "PRIVDROP support disabled"
user="nobody"
test_start "dropping of root privileges"
minimal_config=1
start_chronyd || test_fail
stop_chronyd || test_fail
check_chronyd_messages || test_fail
test_pass