test: fix system tests to change also tempcomp owner

This commit is contained in:
Miroslav Lichvar
2025-07-30 14:57:01 +02:00
parent 9eaf8bc521
commit 5e2cd47ad1

View File

@@ -217,8 +217,8 @@ generate_chrony_conf() {
echo "0.0 10000" > "$TEST_LIBDIR/driftfile"
echo "1 MD5 abcdefghijklmnopq" > "$TEST_DIR/keys"
chown "$user:$(id -g "$user")" "$TEST_LIBDIR/driftfile" "$TEST_DIR/keys"
echo "0.0" > "$TEST_DIR/tempcomp"
chown "$user:$(id -g "$user")" "$TEST_LIBDIR/driftfile" "$TEST_DIR"/{keys,tempcomp}
(
echo "pidfile $(get_pidfile)"