summaryrefslogtreecommitdiff
path: root/tests/emit-added-system-chassis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/emit-added-system-chassis.sh')
-rwxr-xr-xtests/emit-added-system-chassis.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/emit-added-system-chassis.sh b/tests/emit-added-system-chassis.sh
new file mode 100755
index 0000000..3f5407f
--- /dev/null
+++ b/tests/emit-added-system-chassis.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+gdbus emit --system --object-path '/xyz/openbmc_project/inventory' \
+ --signal org.freedesktop.DBus.ObjectManager.InterfacesAdded \
+ 'objectpath "/xyz/openbmc_project/inventory/system/chassis"' \
+ "{ \
+ 'org.freedesktop.DBus.Peer': @a{sv} {}, \
+ 'org.freedesktop.DBus.Introspectable': @a{sv} {}, \
+ 'org.freedesktop.DBus.Properties': @a{sv} {}, \
+ 'xyz.openbmc_project.Inventory.Decorator.CoolingType': { \
+ 'AirCooled': <true>, 'WaterCooled': <false> \
+ } \
+ }"
+