Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

bug 692346 - explicitly require a /mnt/sdcard-based devRoot. r=jmaher

  • Loading branch information...
commit 7590e3d1174450a003aa9a28083ff0442c94b535 1 parent a6b08bc
Aki Sasaki authored October 06, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  sut_tools/cleanup.py
4  sut_tools/cleanup.py
@@ -32,8 +32,8 @@
32 32
 dm.debug = 5
33 33
 devRoot  = checkDeviceRoot(dm)
34 34
 
35  
-if devRoot is None or devRoot == '/tests':
36  
-    setFlag(errorFile, "Remote Device Error: devRoot from devicemanager [%s] is not correct" % devRoot)
  35
+if not str(devRoot).startswith("/mnt/sdcard"):
  36
+    setFlag(errorFile, "Remote Device Error: devRoot from devicemanager [%s] is not correct" % str(devRoot))
37 37
     sys.exit(1)
38 38
 
39 39
 if dm.dirExists(devRoot):

0 notes on commit 7590e3d

Please sign in to comment.
Something went wrong with that request. Please try again.