shill: Copy test scripts out of flimflam/test

Directly copy scripts from third_party/flimflam/test to
platform/shill/test-scripts.  This will allow us to make shill changes
in parallel with test tooling changes.  It also allows us to fully
deprecate flimflam/flimflam-test.  This change leaves swindle behind,
since it has decayed to a point where it makes little sense to bring it
over, and no one has used it in many moons anyway.

TEST=None.  This has no effect until the ebuilds are changed to install
     the scripts from shill rather than flimflam.  Even then, since
     we're not changing the install path, there shouldn't be any user
     visible changes.
BUG=chromium-os:39146

Change-Id: I6d74cc4b3bba6ca80dbd05c17af8fc3e428b8d5e
Reviewed-on: https://gerrit.chromium.org/gerrit/43791
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
diff --git a/test-scripts/mm-reset b/test-scripts/mm-reset
new file mode 100644
index 0000000..25280fe
--- /dev/null
+++ b/test-scripts/mm-reset
@@ -0,0 +1,25 @@
+#!/usr/bin/python
+
+# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import mm
+import sys
+
+def Usage(prog):
+    print ("Usage: %s "
+           "<device path substring>") % prog
+
+if len(sys.argv) < 1 or len(sys.argv) > 2:
+    Usage(sys.argv[0])
+    sys.exit(1)
+
+if len(sys.argv) < 2:
+    modem_pattern = ''
+else:
+    modem_pattern = sys.argv[1]
+
+manager, path = mm.PickOneModem(modem_pattern)
+gobi_modem = manager.GobiModem(path)
+gobi_modem.SoftReset()