]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/TEST-15-DROPIN/test-dropin.sh
core: change top-level drop-in from -.service.d to service.d
[thirdparty/systemd.git] / test / TEST-15-DROPIN / test-dropin.sh
index 75c36df2b8265eea1dd520b4749e64189936022f..fe424c158798d1263292087e582e63e125351760 100755 (executable)
@@ -101,18 +101,18 @@ test_basic_dropins () {
     check_ok b Wants c.service
     systemctl stop a c
 
-    echo "*** test -.service.d/ top level drop-in"
+    echo "*** test service.d/ top level drop-in"
     create_services a b
     check_ko a ExecCondition "/bin/echo a"
     check_ko b ExecCondition "/bin/echo b"
-    mkdir -p /usr/lib/systemd/system/-.service.d
-    cat >/usr/lib/systemd/system/-.service.d/override.conf <<EOF
+    mkdir -p /usr/lib/systemd/system/service.d
+    cat >/usr/lib/systemd/system/service.d/override.conf <<EOF
 [Service]
 ExecCondition=/bin/echo %n
 EOF
     check_ok a ExecCondition "/bin/echo a"
     check_ok b ExecCondition "/bin/echo b"
-    rm -rf /usr/lib/systemd/system/-.service.d
+    rm -rf /usr/lib/systemd/system/service.d
 
     clear_services a b c
 }