test-generated-hwdb: Just use diff to compare for being more informative
This commit is contained in:
parent
63bfaf4f60
commit
170924ee4f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ if [ "$UDEV_HWDB_CHECK_CONTENTS" != 1 ]; then
|
||||||
exit 77
|
exit 77
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! cmp "$MESON_SOURCE_ROOT/data/autosuspend.hwdb" "$generated_rules"; then
|
if ! diff -u "$MESON_SOURCE_ROOT/data/autosuspend.hwdb" "$generated_rules"; then
|
||||||
echo "E: Autosuspend file needs to be re-generated!"
|
echo "E: Autosuspend file needs to be re-generated!"
|
||||||
echo " ninja -C $MESON_BUILD_ROOT libfprint/sync-udev-hwdb"
|
echo " ninja -C $MESON_BUILD_ROOT libfprint/sync-udev-hwdb"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue