From 9e02ef2242cf4a5bc82231971d9384da3be1ab41 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 16 Nov 2012 15:47:31 +0200 Subject: [PATCH] test: Add support for profile Service property --- test/test-profile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test-profile b/test/test-profile index 18183589d..6414d18d7 100755 --- a/test/test-profile +++ b/test/test-profile @@ -70,6 +70,9 @@ if __name__ == '__main__': make_option("-r", "--record", action="store", type="string", dest="record", default=None), + make_option("-S", "--service", action="store", + type="string", dest="service", + default=None), ] parser = OptionParser(option_list=option_list) @@ -99,6 +102,9 @@ if __name__ == '__main__': if (options.record): opts["ServiceRecord"] = options.record + if (options.service): + opts["Service"] = options.service + manager.RegisterProfile(options.path, options.uuid, opts) mainloop.run() -- 2.47.3