mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 00:45:07 -05:00
test: fix system tests to change also tempcomp owner
This commit is contained in:
@@ -217,8 +217,8 @@ generate_chrony_conf() {
|
|||||||
|
|
||||||
echo "0.0 10000" > "$TEST_LIBDIR/driftfile"
|
echo "0.0 10000" > "$TEST_LIBDIR/driftfile"
|
||||||
echo "1 MD5 abcdefghijklmnopq" > "$TEST_DIR/keys"
|
echo "1 MD5 abcdefghijklmnopq" > "$TEST_DIR/keys"
|
||||||
chown "$user:$(id -g "$user")" "$TEST_LIBDIR/driftfile" "$TEST_DIR/keys"
|
|
||||||
echo "0.0" > "$TEST_DIR/tempcomp"
|
echo "0.0" > "$TEST_DIR/tempcomp"
|
||||||
|
chown "$user:$(id -g "$user")" "$TEST_LIBDIR/driftfile" "$TEST_DIR"/{keys,tempcomp}
|
||||||
|
|
||||||
(
|
(
|
||||||
echo "pidfile $(get_pidfile)"
|
echo "pidfile $(get_pidfile)"
|
||||||
|
|||||||
Reference in New Issue
Block a user