summaryrefslogtreecommitdiff
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 00:53:09 +0100
commit4f10b80786e8baa1399b6de6111d5b3a16bf99ba (patch)
tree5b252b5af99d44bfb1f3e606ab90c04280c11e24 /test/hwdb-test.sh
parentef2ad30aee9fa99b0fdb8fe7efda397513cec6af (diff)
downloadsystemd-4f10b80786e8baa1399b6de6111d5b3a16bf99ba.tar.gz
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"