summaryrefslogtreecommitdiff
path: root/tests/emit-added-bmc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/emit-added-bmc.sh')
-rwxr-xr-xtests/emit-added-bmc.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/emit-added-bmc.sh b/tests/emit-added-bmc.sh
new file mode 100755
index 0000000..35b1d92
--- /dev/null
+++ b/tests/emit-added-bmc.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+gdbus emit --system --object-path '/xyz/openbmc_project/software' \
+ --signal org.freedesktop.DBus.ObjectManager.InterfacesAdded \
+ 'objectpath "/xyz/openbmc_project/software/1f6027c9"' \
+ "{ \
+ 'org.freedesktop.DBus.Peer': @a{sv} {}, \
+ 'org.freedesktop.DBus.Introspectable': @a{sv} {}, \
+ 'org.freedesktop.DBus.Properties': @a{sv} {}, \
+ 'xyz.openbmc_project.Common.FilePath': { \
+ 'Path':<'/tmp/images/1f6027c9'> \
+ }, \
+ 'xyz.openbmc_project.Software.Version': { \
+ 'Version':<'v2.2-441-gc04c198-dirty'>, \
+ 'Purpose':<'xyz.openbmc_project.Software.Version.VersionPurpose.BMC'> \
+ }, \
+ 'xyz.openbmc_project.Software.Activation': { \
+ 'Activation':<'xyz.openbmc_project.Software.Activation.Activations.Ready'>, \
+ 'RequestedActivation':<'xyz.openbmc_project.Software.Activation.RequestedActivations.None'> \
+ }
+ }"
+
+
+# 'org.openbmc.Associations': { \
+# 'associations':<struct {'inventory', 'activation', ''} > \
+# } \