]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: fix system tests to change also tempcomp owner master
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 30 Jul 2025 12:57:01 +0000 (14:57 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 30 Jul 2025 12:57:01 +0000 (14:57 +0200)
test/system/test.common

index 43bf48007a8194c82f8cac7a9aeb8d299858986b..e4d9fb6cd3ace4f49a1dca3f1df534f9e28f502c 100644 (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)"