Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(702)

Unified Diff: test/create-profile

Issue 6659006: flimflam: add support for multiple profiles (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: more ers comments Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/wifi.c ('k') | test/flimflam.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/create-profile
diff --git a/test/create-profile b/test/create-profile
new file mode 100755
index 0000000000000000000000000000000000000000..c2132451859674d12b08af77d34e9d14f22bdc97
--- /dev/null
+++ b/test/create-profile
@@ -0,0 +1,11 @@
+#!/usr/bin/python
+
+import dbus, flimflam, string, sys
+
+if (len(sys.argv) < 2):
+ print "Profile pathname required"
+ sys.exit(1)
+
+flim = flimflam.FlimFlam(dbus.SystemBus())
+profile = flim.CreateProfile(sys.argv[1])
+print "New profile created at %s" % (profile.object_path)
« no previous file with comments | « src/wifi.c ('k') | test/flimflam.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698