Chromium Code Reviews| Index: test/push-profile |
| diff --git a/test/push-profile b/test/push-profile |
| new file mode 100755 |
| index 0000000000000000000000000000000000000000..24f172894bc4ccf0dfc44949372ffeb1ae4529ca |
| --- /dev/null |
| +++ b/test/push-profile |
| @@ -0,0 +1,11 @@ |
| +#!/usr/bin/python |
| + |
| +import dbus, flimflam, string, sys |
| + |
| +if (len(sys.argv) < 2): |
| + print "Profile identifier required" |
| + sys.exit(1) |
| + |
| +flim = flimflam.FlimFlam(dbus.SystemBus()) |
| +profile = flim.PushProfile(sys.argv[1]) |
| +print "Pushed profile %s" % (profile.object_path) |