Remove old CBS test scripts.

---
 Makefile.am         |    2 --
 test/enable-cbs     |   20 --------------------
 test/set-cbs-topics |   24 ------------------------
 3 files changed, 0 insertions(+), 46 deletions(-)
 delete mode 100755 test/enable-cbs
 delete mode 100755 test/set-cbs-topics

diff --git a/Makefile.am b/Makefile.am
index 029b87f..71edcda 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -481,8 +481,6 @@ test_scripts = test/backtrace \
                test/get-tech-preference \
                test/set-tech-preference \
                test/set-use-sms-reports \
-               test/set-cbs-topics \
-               test/enable-cbs \
                test/lock-pin \
                test/unlock-pin \
                test/enable-gprs \
diff --git a/test/enable-cbs b/test/enable-cbs
deleted file mode 100755
index 9b5b57b..0000000
--- a/test/enable-cbs
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/python
-
-import dbus
-import sys
-
-bus = dbus.SystemBus()
-
-if len(sys.argv) == 2:
-       path = sys.argv[1]
-else:
-       manager = dbus.Interface(bus.get_object('org.ofono', '/'),
-                                               'org.ofono.Manager')
-       modems = manager.GetModems()
-       path = modems[0][0]
-
-print "Enabling cell broadcast on modem %s..." % path
-cbs = dbus.Interface(bus.get_object('org.ofono', path),
-                                       'org.ofono.CellBroadcast')
-
-cbs.SetProperty("Powered", dbus.Boolean(1))
diff --git a/test/set-cbs-topics b/test/set-cbs-topics
deleted file mode 100755
index fbf7aa4..0000000
--- a/test/set-cbs-topics
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/python
-
-import dbus
-import sys
-
-bus = dbus.SystemBus()
-
-if len(sys.argv) == 3:
-       path = sys.argv[1]
-       topics = sys.argv[2]
-elif len(sys.argv) == 2:
-       manager = dbus.Interface(bus.get_object('org.ofono', '/'),
-                                               'org.ofono.Manager')
-       modems = manager.GetModems()
-       path = modems[0][0]
-       topics = sys.argv[1]
-else:
-       print "%s [PATH] topics" % (sys.argv[0])
-
-print "Setting cell broadcast topics for modem %s..." % path
-cbs = dbus.Interface(bus.get_object('org.ofono', path),
-                                       'org.ofono.CellBroadcast')
-
-cbs.SetProperty("Topics", topics);
-- 
1.7.1

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to