diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-03-21 11:55:26 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-03-21 11:55:26 +0100 |
commit | eff4a6736937fb9d55c09c598d0d232d38c5b06a (patch) | |
tree | 5627353b04dd1ed411c37789e38d7419894a4789 /udev_db.c | |
parent | 7586b637193968e8ef15b12d984b975eec66a803 (diff) |
udevtest: add --force mode
Diffstat (limited to 'udev_db.c')
-rw-r--r-- | udev_db.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -286,6 +286,9 @@ int udev_db_delete_device(struct udevice *udev) char filename[PATH_SIZE]; struct name_entry *name_loop; + if (udev->test_run) + return 0; + devpath_to_db_path(udev->dev->devpath, filename, sizeof(filename)); unlink(filename); |