test_property /dev/null PROP_FOO foo
test_not_property /dev/null PROP_BAR
+: revert
+
+udevadm control --revert
+udevadm trigger --action change --settle /dev/null
+test_not_property /dev/null PROP_FOO
+test_not_property /dev/null PROP_BAR
+
+: set again, and restart
+
+udevadm control -p FOO=foo -p BAR=bar
+udevadm trigger --action change --settle /dev/null
+test_property /dev/null PROP_FOO foo
+test_property /dev/null PROP_BAR bar
+systemctl restart systemd-udevd.service
+udevadm trigger --action change --settle /dev/null
+test_property /dev/null PROP_FOO foo
+test_property /dev/null PROP_BAR bar
+
+: revert again, and restart
+
+udevadm control --revert
+udevadm trigger --action change --settle /dev/null
+test_not_property /dev/null PROP_FOO
+test_not_property /dev/null PROP_BAR
+systemctl restart systemd-udevd.service
+udevadm trigger --action change --settle /dev/null
+test_not_property /dev/null PROP_FOO
+test_not_property /dev/null PROP_BAR
+
exit 0
udevadm control -p HELLO=world
udevadm control -m 42
udevadm control --ping -t 5
-udevadm control --trace yes
udevadm control --trace no
+udevadm control --trace yes
udevadm control --load-credentials
udevadm control -h
+# Sanity check for serialization and deserialization
+systemctl restart systemd-udevd.service
+udevadm control --revert
udevadm info /dev/null
udevadm info /sys/class/net/$netdev