summaryrefslogtreecommitdiffstats
path: root/test/hwdb-test.sh
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-10-08 16:52:10 +0200
committerChris Down <chris@chrisdown.name>2019-10-10 01:53:09 +0200
commit4f10b80786e8baa1399b6de6111d5b3a16bf99ba (patch)
tree5b252b5af99d44bfb1f3e606ab90c04280c11e24 /test/hwdb-test.sh
parentRename udev's rules/ to rules.d/ (diff)
downloadsystemd-4f10b80786e8baa1399b6de6111d5b3a16bf99ba.tar.xz
systemd-4f10b80786e8baa1399b6de6111d5b3a16bf99ba.zip
Rename udev's hwdb/ to hwdb.d/
As in the parent commit, this makes the name consistent with the rest of the source tree and the actuall installation path.
Diffstat (limited to 'test/hwdb-test.sh')
-rwxr-xr-xtest/hwdb-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hwdb-test.sh b/test/hwdb-test.sh
index 05363e9ad6..d12f82fa2d 100755
--- a/test/hwdb-test.sh
+++ b/test/hwdb-test.sh
@@ -21,7 +21,7 @@ fi
D=$(mktemp --directory)
trap "rm -rf '$D'" EXIT INT QUIT PIPE
mkdir -p "$D/etc/udev"
-ln -s "$ROOTDIR/hwdb" "$D/etc/udev/hwdb.d"
+ln -s "$ROOTDIR/hwdb.d" "$D/etc/udev/hwdb.d"
# Test "good" properties" — no warnings or errors allowed
err=$("$SYSTEMD_HWDB" update --root "$D" 2>&1 >/dev/null) && rc= || rc=$?
@@ -42,7 +42,7 @@ fi
# Test "bad" properties" — warnings required, errors not allowed
rm -f "$D/etc/udev/hwdb.bin" "$D/etc/udev/hwdb.d"
-ln -s "$ROOTDIR/test/hwdb" "$D/etc/udev/hwdb.d"
+ln -s "$ROOTDIR/test/hwdb.d" "$D/etc/udev/hwdb.d"
err=$("$SYSTEMD_HWDB" update --root "$D" 2>&1 >/dev/null) && rc= || rc=$?
if [ -n "$rc" ]; then
echo "$SYSTEMD_HWDB returned $rc"